svnmerge workflow

喜你入骨 提交于 2019-11-30 14:10:50
the_mandrill

If you are seing the merge-left/right/working files then it means that there's been a conflict in a merge you've tried to apply. This means that the same section of code has been changed in different ways on the source branch (the branch you've merged from) and the destination branch (the branch you're merging to).

  • 'file.py.merge-left.rxxx` shows the merging result taking the left side of the conflict
  • 'file.py.merge-right.ryyy` shows the merging result taking the right side of the conflict
  • 'file.py.working` shows your unchanged working copy
  • 'file.py` shows SVNs attempts to merge both

See the SVN Book for more information on conflicts. To resolve them you need to look at the left and right files and work out how best to combine the conflicting changes. If you have an SVN GUI such as TortoiseSVN or SmartSVN then you should be able to open the client's conflict viewer. I'd highly recommend that over trying to do it from the raw text files. If you're an emacs user than ediff is great for resolving conflicts too.

Once you're happy with the change then you need to mark the file as 'resolved' in SVN, which allows you to check the file in.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!