create mercurial branch from another branch (non default)
How开发者_JS百科 do i create a branch from another non-default branch (say Y) in mercurial
Thanks!
You can create a branch from any revision, example:
$ hg update -r 500 or $ hg clone --rev 500 // depends on what you want
$ hg branch newbranch
$ hg commit -m 'made a new branch from revision 500'
Hope it helps.
hg flow "parent branch" start "child branch" -u "user"
hg commit -m"message" -u "user"
hg flow "parent branch" "child branch"
hg flow "parent branch" finish
i hope this is useful
精彩评论