D6281: branch: add tests which shows branch can be closed from a non-branchhead cset

khanchi97 (Sushil khanchi) phabricator at mercurial-scm.org
Thu Apr 25 13:47:20 EDT 2019


khanchi97 added inline comments.

INLINE COMMENTS

> test-branches.t:961
> +  $ hg ci -m "closing branch" --close-branch
> +  created new head
> +

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.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D6281

To: khanchi97, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list