[Xfce4-commits] r26844 - xfconf/trunk
Mike Massonnet
mmassonnet at gmail.com
Tue Apr 15 12:27:59 CEST 2008
On Tue, Apr 15, 2008 at 08:55:39AM +0000, Brian Tarricone wrote:
> Author: kelnos
> Date: 2008-04-15 08:55:39 +0000 (Tue, 15 Apr 2008)
> New Revision: 26844
>
> Modified:
> xfconf/trunk/autogen.sh
> Log:
> get svn revision from git-svn in a smarter way
>
>
> Modified: xfconf/trunk/autogen.sh
> ===================================================================
> --- xfconf/trunk/autogen.sh 2008-04-15 08:24:38 UTC (rev 26843)
> +++ xfconf/trunk/autogen.sh 2008-04-15 08:55:39 UTC (rev 26844)
> @@ -35,7 +35,7 @@
> # substitute revision and linguas
> linguas=$(sed -e '/^#/d' po/LINGUAS)
> if [ -d .git/svn ]; then
> - revision=$(git-svn log | head -n 2 | tail -n 1 | cut -d' ' -f1 | cut -dr -f2)
> + revision=$(git-svn find-rev trunk)
I once fixed that in this way, than I came up with remotes/trunk instead
of simply trunk, because if you git-commit then run the ./autogen.sh
script, it won't take the svn revision. But that's just a missing dummy
number unless all gets pushed to svn.
mike
More information about the Xfce4-dev
mailing list