GIT repositories: autogen.sh

Mike Massonnet mmassonnet at gmail.com
Wed Jan 30 17:35:17 CET 2008


On Fri, Dec 28, 2007 at 04:40:28PM +0100, Jasper Huijsmans wrote:
> 2007/12/28, Brian J. Tarricone <bjt23 at cornell.edu>:
> > On Fri, 28 Dec 2007 13:24:31 +0100 Benedikt Meurer wrote:
> >
> > > Jasper Huijsmans wrote:
> >
> > > > +  revision=`LC_ALL=C awk '/branches-maxRev/ { printf "%05d\n",
> > > > $3 }' .git/svn/.metadata`
> >
> > > if test -d .git/svn; then
> > >   revision=`LC_ALL=C git-svn find-rev HEAD`
> >
> > I'd been using
> >
> > git-svn log | head -n 2 | tail -n 1 | cut -d' ' -f1 | cut -dr -f2
> >
> > I guess Benny's is better ^_~.
> >
> 
> Hehe, I tried Benny's version first, but it didn't work with your
> repositories ;-)  With the new ones it works fine, and I've just
> committed the change (Benny's version, of course) for the panel using
> git-svn.  This works very nicely indeed!

the HEAD doesn't work as expected once the local commits aren't git-svn
dcommit'ed.  I replaced it with remotes/trunk, and it works better :-)

Cheers,
mike



More information about the Xfce4-dev mailing list