( )⚙ D10519 branch: delete obsolete message about changing branch of obsolete commit

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
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

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