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

RE: merging trunk to branch merges the whole trunk history

From: Srilakshmanan, Lakshman <lakshman.srilakshmanan_at_police.vic.gov.au>
Date: Thu, 4 Feb 2010 09:34:19 +1100

 Hi,

Did you use svn copy FromURL ToURL when you created your branch ?
ie svn copy http://<host>/svn/<project>/trunk
http://<host>/svn/<project>/branches/<branchName>

Thanks
Lakshman
-----Original Message-----
From: esatel [mailto:eli-sava_at_pacbell.net]
Sent: Wednesday, 3 February 2010 2:30 PM
To: users_at_subversion.apache.org
Subject: merging trunk to branch merges the whole trunk history

Hi,
I have an svn repository created by converting an old cvs repository
using SVN 1.5.1.

If I do the following:
1. Create a branch around trunk revision 1598 2. Work a bit further on
the trunk and commit (I don't think this is necessary, but the
repository is too busy to exclude) 3. Someone else works and commits on
the branch (I don't think this is
necessary)
4. I abandon the trunk and check out the branch fresh 5. cd into the
branch 6. svn merge URL_TO_TRUNK

I get conflicts on seemingly every file that got altered at least in the
trunk. Every file in the trunk is involved in the merge and if it isn't
a conflict it is marked "A" for added. One of the progress messages says
this:
--- Merging r2 through 1606 into .

Obviously svn is trying to merge the entire trunk, including thousands
of revisions that should have been part of the branch when it was
created. Or am I doing something wrong? Is this something that got
fixed after SVN 1.5.1 and if so is an upgrade going to make it work or
is there some repair work needed? (I realize it is infuriating to have
someone ask about 1.5 when you are on 1.6, but I don't have a lot of
admin control at the repository site)? Should I be doing a "record"
merge, and if so what would it look like?

Thank you very much for any help you can give me. I really love the new
merge tracking feature and am eager to get past my impasse so I can use
it.

Eli
Received on 2010-02-03 23:35:31 CET

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.