[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Global revision keyword

From: Dominic Anello <danello_at_danky.com>
Date: 2004-10-27 19:45:31 CEST

On 2004-10-27 10:28:46 -0500, Ben Collins-Sussman wrote:
>
> On Oct 27, 2004, at 10:26 AM, Dominic Anello wrote:
> >
> >If you have the build number in hand, you can do the following:
> >$ svn log -r1000 -q http://lynx/ec-svn | egrep '^r' | cut -d '|' -f 3
> > 2004-04-07 15:34:39 -0400 (Wed, 07 Apr 2004)
> >
> >If you are building from a working copy you can parse it out of svn
> >info:
> >$ svn info . | egrep '^Last Changed Date:'
> >Last Changed Date: 2004-04-07 15:34:39 -0400 (Wed, 07 Apr 2004)
> >
> >
>
> Or, if you're on windows and don't have greppy tools, just run
>
> $ svn propget svn:date --revprop -r1000 URL
>
> The revision datestamp is a 'property' ofa revision. Much, much
> simpler.

What he said - definately much easier, and you get a nice ISO date.

Thanks Ben!

  • application/pgp-signature attachment: stored
Received on Wed Oct 27 19:44:36 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.