This is an archive of the discontinued Mercurial Phabricator instance.

simplestore: back up index when adding a revision
ClosedPublic

Authored by indygreg on Apr 4 2018, 9:24 PM.

Details

Summary

This ensures that transaction rollback reverts the index to its
previous state. This fixed a few test failures due to hg verify
complaining about a reference to an undefined changeset revision.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

indygreg created this revision.Apr 4 2018, 9:24 PM
durin42 accepted this revision.Apr 6 2018, 8:35 PM
This revision is now accepted and ready to land.Apr 6 2018, 8:35 PM
This revision was automatically updated to reflect the committed changes.