[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: John Peacock <jpeacock_at_rowman.com>
Date: 2005-06-03 17:13:05 CEST

Greg Hudson wrote:
> 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.

I swear when I read #1975 the first time it said something about passing
a list of the switched files after the update so the client could update
the keywords. It doesn't say that now, so apparently the hallucinations
are getting worse... ;-)

>
> 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.

It should be sufficient to just store a flag noting the *presence* of a
svn:keywords in the entries files. Right now you only want to have
$URL$ and possibly $GlobalRevision$ get autoexpanded; later there might
be others and it is easy to retrieve the actual svn:keywords value after
locating which files need special handling...

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748
---------------------------------------------------------------------
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:19:33 2005

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