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

Re: [Feature] unique version numbers

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2005-06-03 16:56:33 CEST

On Fri, 2005-06-03 at 10:52 -0400, John Peacock wrote:
> Greg Hudson wrote:
> > However, there is some hope. In
> > http://subversion.tigris.org/issues/show_bug.cgi?id=1975 I noted that
> > the solution to a fairly obscure bug ("svn switch" doesn't update $URL$
> > values) looks very similar to an implementation of $GlobalRevision$.
>
> Not to throw cold water on this, but in the 'svn switch' case, we know
> what files were "switched" and hence we know which files need to be
> checked for re-expansion of keywords.

Er, no, the whole point of #1975 is that $URL$ needs to be rewritten in
all files, not just the ones which changed as a result of the switch
operation.

The trick is to only re-substitute the files which have the offending
keyword in their svn:keywords properties. Doing that efficiently might
require storing the svn:keywords value in the entries file.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jun 3 17:03:00 2005

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.