[asterisk-commits] branch 1.2 - r7329 /branches/1.2/build_tools/make_svn_branch_name

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sun Dec 4 12:03:08 CST 2005


Author: kpfleming
Date: Sun Dec  4 12:03:07 2005
New Revision: 7329

URL: http://svn.digium.com/view/asterisk?rev=7329&view=rev
Log:
use a more efficient way to get the revision number, that will also report if the working copy contains uncommitted modifications

Modified:
    branches/1.2/build_tools/make_svn_branch_name

Modified: branches/1.2/build_tools/make_svn_branch_name
URL: http://svn.digium.com/view/asterisk/branches/1.2/build_tools/make_svn_branch_name?rev=7329&r1=7328&r2=7329&view=diff
==============================================================================
--- branches/1.2/build_tools/make_svn_branch_name (original)
+++ branches/1.2/build_tools/make_svn_branch_name Sun Dec  4 12:03:07 2005
@@ -4,7 +4,7 @@
 BRANCH=0
 TEAM=0
 
-REV=`LANG=C svn info | grep -e 'Last Changed Rev' | awk '{print $4;}'`
+REV=`svnversion -c . | cut -d: -f2`
 
 if [ "${PARTS}" = "trunk" ]
 then



More information about the asterisk-commits mailing list