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

Re: merging from branches with deleted and readded (replaced) files

From: Lieven Govaerts <lgo_at_mobsol.be>
Date: 2006-06-20 16:47:57 CEST

Quoting Clemens Wehrmann <clemens.wehrmann@ciao-group.com>:

> On Monday 19 June 2006 23:28, Lieven Govaerts wrote:
> > This looks like issue 2144:
> > http://subversion.tigris.org/issues/show_bug.cgi?id=2144 .
> >
> > The issue is solved and will be included in svn 1.4.
> Thank you very much for the information. Is there a work-around? Can I:
> a: safely use svn from 1.4.x branch to do just this merge or will it break
> my repo for older clients?
> b: tell svn not to include history with these file?
> c: it looks like I can't just revert these files (there's a revert bug
> mentioned in the ticket) after the merge and then contruct the diffs by hand?
> d: prevent those files from being part of the merge? (How to detect them?)
> --clemens


the workaround we use is to split up the merge in two parts:

If x is the revision in which the folder is added for the second time (in your
example that's revision 6 in which you add 'stuff' again):

Part 1: up to, but not including the add:
 merge 3:x-1 source-branch .
 commit .

Part 2: from the add up to head:
 merge x:head source-branch .
 commit .

hope this helps,


This message was sent using IMP, the Internet Messaging Program.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jun 20 16:50:09 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.