简体   繁体   中英

How do i go about resolving this svn merge error : svn merge aborted abnormally. resolve conflicts and continue?

I was trying to merge the changes in branch A into branch B. While I was running the merge I got some error like this (don't have the exact error because I closed the console without copying the error).

svn merge aborted abnormally. resolve conflicts and continue

I wanted to know how I should go about solving this. These are the ways I can think of.

  1. Resolve the conflicts locally, commit the files to branch B and then continue the merge
  2. Resolve conflicts locally, rerun the merge.

I would opt for option 2. There's nothing preventing you from merging into a working copy with local changes. I wouldn't commit a portion of the merge, because there's no way to determine if all of the necessary changes were applied before the original merge aborted. So, if were me, I'd simply locally resolve the conflicts and then re-run the original merge until the merge can complete successfully. It is possible that a merge will always have conflicts and that you simply complete the merge and address the conflicts after the merge completes.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM