RE: SVN Merge questions
From: I-Smith, Brooke <brooke.smith_at_boeing.com>
Date: Tue, 26 Feb 2008 08:42:02 +1000
Excellent John, the answer I was hoping for (clarity). Our team struggles with merges because we tend to keep our branches active rather then create a new one for each task. I've known about merge tracking in 1.5 and look forward to the day it is released.
Cheers,
Brooke
-----Original Message-----
I-Smith, Brooke wrote:
Because the '-r' option does not operate on changesets like you are expecting;
You may want to use the '-c' parameter instead, if that makes more sense to you.
svn merge -c 21 ...
which is in every way equivalent to
svn merge -r20:21 ...
The presence of '22' in your original merge is misleading because you are
> Secondly, when you merge should you avoid where you have merged before? As in the above scenario I would have thought I wouldn't want r:20:22.
Yes, you should avoid merging what you have already merged before. If you do
In other words:
svn merge -c 21 $REPO/branches/bsmith
where you want to merge in the changes made _on that branch_ in revisions 43-47
FWIW, when 1.5.0 is released, it will have much better merge support, so
Does that help?
John
---------------------------------------------------------------------
|
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.