This is an archive of the discontinued Mercurial Phabricator instance.

branch: abort if closing branch from a non-branchhead cset
ClosedPublic

Authored by khanchi97 on Apr 19 2019, 3:49 AM.

Details

Summary

This patch make sure that we abort if the user is trying to
close a branch from a cset which is not a branch head.
Changes in test file reflect the fixed behaviour.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

khanchi97 created this revision.Apr 19 2019, 3:49 AM
pulkit accepted this revision.Apr 25 2019, 1:51 PM
This revision was automatically updated to reflect the committed changes.