D6281: branch: add tests which shows branch can be closed from a non-branchhead cset
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Thu Apr 25 13:51:04 EDT 2019
pulkit accepted this revision.
pulkit added a comment.
Queueing this, many thanks!
INLINE COMMENTS
> khanchi97 wrote in test-branches.t:961
> I created this patch assuming that hg should not allow to create a branch closing commit from a cset which is not a branch head. Let me know if I am missing something here.
I think that the assumption is correct. `hg help commit` says `--close-branch mark a branch head as closed`.
So it should definitely be a head.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D6281
To: khanchi97, #hg-reviewers, pulkit
Cc: pulkit, mercurial-devel
More information about the Mercurial-devel
mailing list