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

Re: [BUG] Conflict with use-commit-times = yes + svn:keywords set

From: John Peacock <jpeacock_at_rowman.com>
Date: 2004-11-02 18:07:16 CET

Brian W. Fitzpatrick wrote:

> I've seen this before. It's because in the conversion, the keywords are
> expanded and stored expanded in the repository. Subversion isn't used
> to seeing a keyword come out of the repository already expanded, and
> seems to get confused when it attempts to diff between the text-base and
> the file in the working copy.
>
> I'm not sure what the real solution is here...

The two possible solutions would seem to be:

1) cvs2svn doesn't store the expanded keywords in the first place;

2) Subversion is patched to unexpand keywords when checking out a file
(since it already handles diff against an unexpanded text-base).

I'm inclined to think that #1 is the most appropriate solution (on the
GIGO principle), but #2 is probably not /that/ hard to do (having spent
some time in that section of the code).

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 Tue Nov 2 18:07:26 2004

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