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

Re: spurious mergeinfo property created on copy?

From: Mark Phippard <markphip_at_gmail.com>
Date: 2007-10-09 18:31:16 CEST

On 10/9/07, Kamesh Jayachandran <kamesh@collab.net> wrote:
> Sussman,
>
> svn cp -g README README2
>
> '-g' records the implicit mergeinfo correctly. But I am not sure why we
> need '-g' to achieve this where we don't need one for url-url copy.

This was talked about a lot. The issue is that currently a WC-WC copy
has to contact the server to get the mergeinfo and that was deemed to
be a nasty regression. So we made the -g option a requirement to
indicate you are OK with it doing this. It is not intended to be a
permanent solution, just something to get the right code in place
until we can figure out how to handle this without contacting the
repository as part of the copy.

I am not sure why we are setting empty mergeinfo, but I think it had
something to do with the empty mergeinfo being more accurate than
doing nothing at all. In terms of how a subsequent merge will handle
this.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 9 18:47:29 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.