This is an archive of the discontinued Mercurial Phabricator instance.

undo: invalidate false cache
ClosedPublic

Authored by felixmerk on Aug 14 2017, 9:51 PM.
Tags
None
Subscribers
None

Details

Reviewers
quark
Group Reviewers
Restricted Project
Commits
rFBHGX8143cb50d4e7: undo: invalidate false cache
Summary

Mercurial sometimes leaves bad caches. Easiest example is when updating to a
hidden commit, where hg undo will fail, but can be reproduced with many commands
(such as fold which is used for testing here).

Test Plan

unit tests

Diff Detail

Repository
rFBHGX Facebook Mercurial Extensions
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

felixmerk created this revision.Aug 14 2017, 9:51 PM
Herald added a reviewer: Restricted Project. · View Herald TranscriptAug 14 2017, 9:51 PM
quark accepted this revision.Aug 15 2017, 2:25 PM
This revision is now accepted and ready to land.Aug 15 2017, 2:25 PM
This revision was automatically updated to reflect the committed changes.