I think the file is just updated when you perform an "svn update", not when you "svn commit". This tricked me into thinking it wasn't actually working: after the commit I had a release number smaller then actual one, if that made sense :) -m On 10/20/05, Timo Sugliani <rannis at free.fr> wrote: > Hi, > > To get the last revision i don't see anyway other than the one you tried > Marco. > > the thing is just to do this on the root folder of gregarius, otherwise > you will just > get the "folder or file" revision that doesn't necessary represents the > last version. > > In fact i don't understand what's the problem :P your last try on svn is > working > fine here. > > It display ".960" since prefix is "." > > What's wrong about this ? > > > Marco Bonetti wrote: > > >AFAIK the $Revision$ label is only expanded if the relevant file is > >committed, so that'd be a cul-de-sac. I committed a hack in [959] that > >parses the revision file in the .svn directory, but that isn't working > >as expected either (maybe it's only updated when you actually 'svn > >update') > > > >Will investigate further, maybe Timo (our Subversion guru) has a > >better solution? > > > > -m > > > >On 10/18/05, Sameer D'Costa <sameerslists at gmail.com> wrote: > > > > > >>Hi, > >>Is there any way to put the subversion global revision number in > >>themes/default/footer.php > >>Currently it has the gregarius version and then in html comments the > >>subversion revision number. However the subversion revision number was > >>hard coded to 577. I tried to change it, but it now it will only show the > >>last revision footer.php was modified. It will not show the current > >>subversion revision. > >> > >>The subversion faq is quite discouraging > >>http://subversion.tigris.org/faq.html#version-value-in-source > >>Any ideas how we could work around this? > >> > >>Sameer > >>_______________________________________________ > >>gregarius-dev mailing list > >>gregarius-dev at sinless.org > >>http://sinless.org/mailman/listinfo/gregarius-dev > >> > >> > >> > > > >_______________________________________________ > >gregarius-dev mailing list > >gregarius-dev at sinless.org > >http://sinless.org/mailman/listinfo/gregarius-dev > > > > > > > > _______________________________________________ > gregarius-dev mailing list > gregarius-dev at sinless.org > http://sinless.org/mailman/listinfo/gregarius-dev >