Author: kelnos
Date: 2008-06-05 07:10:27 +0000 (Thu, 05 Jun 2008)
New Revision: 27034

Modified:
   libxfcegui4/trunk/ChangeLog
   libxfcegui4/trunk/autogen.sh
Log:
use git-svn to get revision number


Modified: libxfcegui4/trunk/ChangeLog
===================================================================
--- libxfcegui4/trunk/ChangeLog 2008-06-05 07:10:11 UTC (rev 27033)
+++ libxfcegui4/trunk/ChangeLog 2008-06-05 07:10:27 UTC (rev 27034)
@@ -1,3 +1,7 @@
+2008-06-05  Brian Tarricone <[EMAIL PROTECTED]>
+
+       * autogen.sh: use git-svn to get revision number
+
 2008-06-04  Brian Tarricone <[EMAIL PROTECTED]>
 
        * configure.in.in: prepend 'r' to svn revision number

Modified: libxfcegui4/trunk/autogen.sh
===================================================================
--- libxfcegui4/trunk/autogen.sh        2008-06-05 07:10:11 UTC (rev 27033)
+++ libxfcegui4/trunk/autogen.sh        2008-06-05 07:10:27 UTC (rev 27034)
@@ -29,7 +29,11 @@
 
 # substitute revision and linguas
 linguas=`sed -e '/^#/d' po/LINGUAS`
-revision=`LC_ALL=C svn info $0 | awk '/^Revision: / {printf "%05d\n", $2}'`
+if [ -d .git/svn ]; then
+  revision=`LC_ALL=C git-svn find-rev trunk`
+else
+  revision=`LC_ALL=C svn info $0 | awk '/^Revision: / {printf "%05d\n", $2}'`
+fi
 sed -e "s/@LINGUAS@/${linguas}/g" \
     -e "s/@REVISION@/${revision}/g" \
     < "configure.in.in" > "configure.in"

_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to