This is an archive of the discontinued Mercurial Phabricator instance.

tests: add test showing that rebase of extinct commit with successor fails
ClosedPublic

Authored by martinvonz on Aug 28 2018, 3:33 AM.

Details

Summary

As the test case shows, attempting to rebase a commit that has a
successor that is not in the rebase set and not in the destination
currently fails because it "will cause divergences". However, it
doesn't seem like there's any harm in skipping the extinct commit. I
suspect this case missed simply because extinct revisions are usually
hidden.

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.