Mercury branch closure

I use the named branches both as feature branches and as long branches. I just merged a bunch of function branches into a long-lived branch, so I no longer need those function branches that confuse the history graph (although I still want to save commit messages, of course).

How to do it?

+3
source share
2 answers

Check the branch ( hg co branchname), then hg commit --close-branchto mark the branch "closed."

+4
source

mercurial , , , " 1.0" "". , , , . : http://stevelosh.com/blog/2009/08/a-guide-to-branching-in-mercurial/

@wolvever, , , ( ).

+4

Source: https://habr.com/ru/post/1796083/


All Articles