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

Re: [PATCH]Issue #2219 - svn:keywords canonicalization

From: John Peacock <jpeacock_at_rowman.com>
Date: 2005-03-01 15:27:53 CET

Madan U Sreenivasan wrote:
> I would like to clarify... is the following behavior what is expected?
>
> $ svn ps svn:keywords lastchangedby file.c
> $ svn pg svn:keywords file.c
> LastChangedBy
> $

Exactly (at least that's what _I_ expect). In fact, I would go one step farther:

   $ svn ps svn:keywords AuThOr file.c
   $ svn pg svn:keywords file.c
   LastChangedBy

In other words, accept any capitalization of any of the aliases for a given
keyword, but only store the LONG name in the property. And document this
thoroughly; it is still suprising for some people that you can set the
svn:keywords value to Revision and both $Rev$ and $LastChangedRevision$ both
expand. Any patch to document this behavior is a Good Thing(tm)!

The idea is that we cannot fix the existing svn:keywords values (until a
dump/reload cycle, say for 1.2.0), but we want to make sure all new keywords
come from the much smaller universe of defined long names. Then during said
dump/reload, we fix up all of the keywords on the fly to correspond with the
canonical values established at the time.

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Mar 1 15:27:19 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.