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

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

From: David Glasser <glasser_at_davidglasser.net>
Date: 2007-11-28 20:02:53 CET

[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.

--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 Wed Nov 28 20:03:06 2007

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