Reputation: 86805
I have a dev branch that hasn't been touched for a while. I merged the trunk into it to integrate many fixes/changes in the main line since it was branched out, but now I have many small conflicts (merge-left/merge-right).
I want the latest trunk revision to be used to resolve each conflict. Is there a command I can run that will resolve all conflicts under a working copy in one direction automatically (merge-right should be used for all conflicts)?
EDIT: As indicated in the comments, I tried reverting and then running svn merge with the --accept option, only apparently there is no such option in SVN 1.0. Still looking for a solution.
Upvotes: 4
Views: 16087
Reputation: 3711
svn --version
svn, version 1.6.17 (r1128011)
svn resolve -R --accept='theirs-full' <path>
Upvotes: 3
Reputation: 13026
Ok, I have a plan and I think it explains most of my woes - (harvested from my post to users@subversion...)
I think we hit the following problems that made things worse:
PUSH process:
PULL process: same pattern, but minus the --reintegrate
Upvotes: 0
Reputation: 20142
Like abigagly said, you should use --accept theirs-full
when doing the merge. If you have already done the merge and want to start over, you can use svn revert -R
first, to start over.
The --accept
option is new in SVN 1.5, along with interactive merge support.
Upvotes: 3
Reputation: 39500
I think TSVN could do this if you do a "Check for modifications", which will show you all the files including the conflicted ones, select them all, and then choose 'resolve using theirs'.
Not sure if TSVN is relevant for your platform, or it that's actually exactly what you want to to do, but it might be helpful...
Upvotes: 0
Reputation: 2809
I think you can use the "--accept theirs-full" option when you issue the svn merge command. That should do what you want...
Upvotes: 7