[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 20:54:36 CET

Eric Gillespie wrote:

> CVS is a red herring. My users add "$Id:$" to their files all
> the time. This is works perfectly in CVS and RCS, but breaks in
> Subversion. Subversion should *not* expand these and then break.

I could have sworn that was fixed (I'll have to check out the bug
database for that one). Maybe I fixed that as part of my unapplied
keyword patch, which is why I remember it.

> The simplest solutions is to ignore keywords that aren't of the
> simple form "$Keyword$".

Your solution isn't sophisicated enough. All keywords are normally
stored in the repository as "$Keyword$" anyways. The problem is that
the WC has an expanded version and the code to decide what to commit has
to unexpand it before committing. The problem is that the colon is not
stripped out before storing it into repository (which is just a
degenerate case of what we are talking about with CVS keywords).

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 20:54:46 2004

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.