This is an archive of the discontinued Mercurial Phabricator instance.

fix: add --all flag to fix non-public non-obsolete revisions
ClosedPublic

Authored by hooper on Apr 9 2018, 7:11 PM.

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

hooper created this revision.Apr 9 2018, 7:11 PM
indygreg accepted this revision.Apr 12 2018, 11:56 AM
indygreg added a subscriber: indygreg.

Nice feature!

tests/test-fix-topology.t
280–306

Next time, please consider using the drawdag extension for building a repo. It can't create obsolete changesets. But if the test is doing a bunch of regular hg commit, it will be faster to use drawdag to create the repo, as it avoids a ton of overhead from hg processes.

(I'm still guilty of not using drawdag, as the tool is relatively new.)

This revision is now accepted and ready to land.Apr 12 2018, 11:56 AM
This revision was automatically updated to reflect the committed changes.