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

Re: Bugs related to the svn:keywords property

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2003-12-10 01:36:21 CET

On Mon, 2003-12-08 at 08:09, Vincent Lefevre wrote:
> I'm using subversion 0.33 (because this is the latest version as a
> Debian package), and I noticed the following bug. I did a
> svn mkdir dir2
> svn copy dir1/file dir2/file
> svn propdel svn:keywords dir2/file
> where the keywords contained Id (and Date) and file had an $Id$.

The working copy code assumed (in two places) that added files have no
base props, so if you copy a file and empty out the properties, the code
doesn't think there have been any property changes. Fixed in r7968,
which will make it into svn 0.35.

With this bug fixed, the properties should stay consistent between
client and repository, but keywords won't be de-substituted when you
remove (or subtract entries from) svn:keywords. I don't know how
difficult that would be; if we did that, we'd also want to expand
keywords when we add entries to svn:keywords, and I don't know if that's
even meaningful for an added-but-not-yet-committed file.

Incidentally, ou can do "svn pl URL" to authoritatively find out the
repository's idea of what properties a file has. (You appeared to use
more indirect methods, such as svnadmin dump or a second working copy.)

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Dec 10 01:37:09 2003

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.