svn rebasing and history lost

a 夏天 提交于 2019-12-03 12:42:21
ThisSuitIsBlackNot

No, you haven't missed anything. This is a big problem with using SVN for version control.

I ran into it over and over again at my last job. Every time somebody committed something to current_branch (to stick with your terminology), the commit message would have to be copied manually so it could be used in the merge commit message. This quickly became a huge pain.

That's why new version control software has come out with better merging capabilities (Git, Mercurial, and Bazaar come to mind).


EDIT: Apparently SVN has fixed this issue. SVN 1.5 and up incorporate merge-sensitive logs and annotations. Use the flag --use-merge-history (-g) with svn merge and svn blame to see the commit messages from the merged branch.

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