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

Re: mergeinfo db not updated for svn:mergeinfo props copied under a copied directory

From: David Glasser <glasser_at_davidglasser.net>
Date: 2007-12-04 02:22:21 CET

On Nov 28, 2007 11:02 AM, David Glasser <glasser@davidglasser.net> wrote:
> [Nothing in this post is about pre-1.5 compatibility!]
>
> Summary: Given /foo/{trunk,tags,branches} with lots of mergeinfo on
> the trunk and branches, if you do "cp url://to/foo url://to/bar", you
> will now have /bar/{trunk,tags,branches} with svn:mergeinfo properties
> but the sqlite db will not know about it.
>
> This leads to cases where "svn mergeinfo ." and "svn mergeinfo
> $URL_FOR_CURRENT_DIRECTORY" return different values even if the
> directory is up to date with no local mods. Presumably this is bad.
>
> Reproduction recipe attached.

On another thread, I came to the conclusion that (given extra in-FS
annotations), supporting deep copies would not be too hard. Neither
would supporting deletions... except that the current schema has no
way to represent any kind of deletion, which is a problem.

--dave

-- 
David Glasser | glasser_at_davidglasser.net | http://www.davidglasser.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Dec 4 02:22:47 2007

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.