hg fold left mercurial with the wrong cache state at the end of running, which
means if we ran something within the same process we could run into issues.
This bug affected hg undo, which is why the tests specifically check for their
interaction.
Details
Details
- Reviewers
quark - Group Reviewers
Restricted Project
unit tests
Diff Detail
Diff Detail
- Repository
- rFBHGX Facebook Mercurial Extensions
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
Comment Actions
Nice! Upon further investigation I suspect other commands have a similar issue. It seems localrepo.transaction may be responsible for that.
Comment Actions
Actually it's more complex than that - For example, update might affect visibility but it does not even use a transaction. So I think we have to invalidate these cache in undo code.