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

Re: Way to get current revision as keyword...?

From: Max Bowsher <maxb_at_ukf.net>
Date: 2004-12-04 18:59:10 CET

Theo Van Dinter wrote:
> On Sat, Dec 04, 2004 at 05:27:10PM -0000, Max Bowsher wrote:
>> FAQ.
>> http://subversion.tigris.org/project_faq.html#version-value-in-source
> Darn it! I looked at the FAQ after checking the book. Apparently my
> search skills have become lax when not using Google. ;)
> Ok, so now I have some thoughts about the FAQ answer:
> "Subversion increments the revision number of the repository as a whole,
> so it
> can't expand any keyword to be that number - it would have to search and
> possibly modify every file in your working copy on every update and
> commit."
> Exactly! That's the point! It's actually not as bad as the answer lets
> on. All that needs to happen is a search of file props per operation --
> the actual files don't need to be scanned, and 2/3 of the time it's
> already doing that work anyway.

But what about when the entire WC is not at a single revision?
Like, after every single commit?
Or, if you "svn update" only parts of a working copy?

And what about local modifications? svnversion will tell you about them, but
there's no way a keyword could do that.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Dec 4 19:01:33 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.