[Xfce4-commits] r27295 - xfconf/trunk

Jannis Pohlmann jannis at xfce.org
Tue Jul 15 13:10:21 CEST 2008


Author: jannis
Date: 2008-07-15 11:10:21 +0000 (Tue, 15 Jul 2008)
New Revision: 27295

Modified:
   xfconf/trunk/autogen.sh
Log:
Change @REVISION@ substitution for git svn repositories again.

Modified: xfconf/trunk/autogen.sh
===================================================================
--- xfconf/trunk/autogen.sh	2008-07-15 11:05:25 UTC (rev 27294)
+++ xfconf/trunk/autogen.sh	2008-07-15 11:10:21 UTC (rev 27295)
@@ -35,7 +35,10 @@
 # substitute revision and linguas
 linguas=$(sed -e '/^#/d' po/LINGUAS)
 if [ -d .git/svn ]; then
-    revision=$(git svn find-rev HEAD)
+    revision=$(git svn find-rev trunk ||
+               git svn find-rev origin/trunk ||
+               git svn find-rev HEAD ||
+               git svn find-rev master)
 elif [ -d .svn ]; then
     revision=$(LC_ALL=C svn info $0 | awk '/^Revision: / {printf "%05d\n", $2}')
 else



More information about the Xfce4-commits mailing list