Re: Can a merge follow changes in paths in trunk/branch?
From: Blair Zajac <blair_at_orcaware.com>
Date: 2006-02-11 06:53:46 CET
On Feb 10, 2006, at 6:21 PM, Matt England wrote:
> The consequences don't (yet) appear to be as bad as I thought in
Hi Matt,
In your case, what I recommend doing is the following. This should
1) First deciding which way the merge is going (from branch to trunk
2) Do an 'svn log -v' on the source of the merge (branches/b1) and
3) Merge the revisions over that contain file content changes. If
cd trunk/newdir
Ideally, you should be able to pull over large swathes of directories
BTW, you can merge changes to files even if the files have changed.
Regards,
-- Blair Zajac, Ph.D. CTO, OrcaWare Technologies <blair@orcaware.com> Subversion training, consulting and support http://www.orcaware.com/svn/ svnadmin create repos svn co file://`pwd`/repos wc cd wc/ svn mkdir trunk cd trunk/ cp /etc/passwd . svn add passwd cd .. svn ci -m '' svn mkdir branches svn ci -m '' svn cp trunk branches/b1 svn ci -m '' cd branches/ cd b1/ vi passwd (delete line number 1) svn ci -m '' svn mv passwd passwd.1 svn ci -m '' cd ../../ svn update cd trunk/ ls vi passwd (delete line number 2) svn ci -m '' svn update cd .. svu svn update cd branches/b1 svn merge -r 5:6 ../../trunk (this will fail) svn merge -r 5:6 ../../trunk/passwd passwd.1 (this will work) --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org For additional commands, e-mail: users-help@subversion.tigris.orgReceived on Sat Feb 11 06:55:23 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.