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

Re: workaround for $WorkingRevision$ ?

From: Bill Comisky <bcomisky_at_pobox.com>
Date: 2003-06-18 21:45:29 CEST

On Wed, 18 Jun 2003, Ben Collins-Sussman wrote:

> Bill Comisky <bcomisky@pobox.com> writes:
>
> > Suffice to say I'd like to have my code "know" somehow what the HEAD
> > revision number was when the wc was last updated/checked out/exported.
> >
> > Am I making sense yet? :)
>
> Sure. You want your code to assume that the whole working copy is at
> a single working revision, and to push that revision into generated
> data.
>
> So maybe your code can simply run 'svnversion' on the wc? That's the
> reason Philip wrote svnversion.
>

Cool, I didn't know about svnversion. For exported code, I'll just make
sure to make a tag first & then parse $HeadURL$.

thanks,
bill

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jun 18 21:46:17 2003

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

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