[asterisk-commits] qwell: trunk r98968 - in /trunk: ./ Makefile

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jan 16 12:06:15 CST 2008


Author: qwell
Date: Wed Jan 16 12:06:14 2008
New Revision: 98968

URL: http://svn.digium.com/view/asterisk?view=rev&rev=98968
Log:
Add logging for 'make update' command (also fixes updates in some places).  Issue #11766, initial patch by jmls.

Modified:
    trunk/   (props changed)
    trunk/Makefile

Propchange: trunk/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Wed Jan 16 12:06:14 2008
@@ -23,3 +23,4 @@
 autom4te.cache
 makeopts.embed_rules
 aclocal.m4
+update.log

Modified: trunk/Makefile
URL: http://svn.digium.com/view/asterisk/trunk/Makefile?view=diff&rev=98968&r1=98967&r2=98968
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Wed Jan 16 12:06:14 2008
@@ -474,7 +474,10 @@
 update: 
 	@if [ -d .svn ]; then \
 		echo "Updating from Subversion..." ; \
+		fromrev="`svn info | $(AWK) '/Revision: / {print $$2}'`"; \
 		svn update | tee update.out; \
+		torev="`svn info | $(AWK) '/Revision: / {print $$2}'`"; \
+		echo "`date`  Updated from revision $${fromrev} to $${torev}." >> update.log; \
 		rm -f .version; \
 		if [ `grep -c ^C update.out` -gt 0 ]; then \
 			echo ; echo "The following files have conflicts:" ; \




More information about the asterisk-commits mailing list