[zaptel-commits] qwell: trunk r3700 - in /trunk: ./ Makefile

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Wed Jan 16 12:06:33 CST 2008


Author: qwell
Date: Wed Jan 16 12:06:32 2008
New Revision: 3700

URL: http://svn.digium.com/view/zaptel?view=rev&rev=3700
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:32 2008
@@ -36,3 +36,4 @@
 Modules.symvers
 Module.symvers
 README.html
+update.log

Modified: trunk/Makefile
URL: http://svn.digium.com/view/zaptel/trunk/Makefile?view=diff&rev=3700&r1=3699&r2=3700
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Wed Jan 16 12:06:32 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 zaptel-commits mailing list