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

Re: How to have a version file in the wc?

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-07-09 16:17:33 CEST

Ben Collins-Sussman <sussman@collab.net> writes:

> Philip Martin <philip@codematters.co.uk> writes:
>> pmarek@users.sourceforge.net writes:
>> > I created a file with contents "$Rev$", set svn:keywords, committed.
>> > -> it gets "$Rev: 0 $".
>> That's not right, it should contain the revision of the commit and
>> that cannot be zero. I cannot reproduce your problem.
> This bug was fixed post-0.24.2.

I see. I suspect we need some regression tests in this area :)

> pmarek: there is no way to automatically have subversion put the HEAD
> revnum into a file. And I really don't understand why you'd want to
> do it.

I don't think it is HEAD that is wanted. I think this is a request
for a $Current$ keyword, that expands to svn_wc_entry_t.revision, as a
way to get an "svnversion-like" version number without running
svnversion. It would work reasonably well for those who deal with
single revision working copies.

Philip Martin
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 9 16:19:34 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.