This is an archive of the discontinued Mercurial Phabricator instance.

branch: delete obsolete message about changing branch of obsolete commit
ClosedPublic

Authored by martinvonz on Apr 27 2021, 6:53 PM.

Details

Summary

We now rely on rewriteutil.precheck() to check for divergence, so we
don't need the extra check in cmdutil.changebranch(). The former
check is a little less strict in that it allows you to rewrite a
commit without non-obsolete successors.

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

martinvonz created this revision.Apr 27 2021, 6:53 PM
pulkit accepted this revision.Apr 28 2021, 6:24 AM
This revision is now accepted and ready to land.Apr 28 2021, 6:24 AM