SVN - automate merge of trunk into branch

蓝咒 提交于 2019-12-02 23:52:10

I had your same exact problem, though I didn't try to automate merge because there were not many branches and I did it manually.

Anyway, the best option looks like using scripts. The script linked in your post doesn't do only the last required action: commit

I often use Linux so, if I was you, I would have used a shell script like the following:

cd /path/to/branch
svn update #just to be sure...
svn merge --non-interactive svn://path/to/trunk
svn commit -m "Automated commit"

A similar command could be used with SVN for windows in a batch script

Have a look at MergeFairy. It will continuously merge and email you on conflicts with instructions on how to resume.

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