This is an archive of the discontinued Mercurial Phabricator instance.

rust-dirstatemap: correctly decrement the copies counter
ClosedPublic

Authored by Alphare on Apr 4 2022, 11:30 AM.

Details

Summary

This was caught when writing unit tests for the DirstateMap. We were always
setting had_copy_source to false since we erased the value just before.

Diff Detail

Repository
rHG Mercurial
Branch
stable
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

Alphare created this revision.Apr 4 2022, 11:30 AM
Alphare updated this revision to Diff 32761.Apr 4 2022, 1:39 PM
baymax updated this revision to Diff 32766.Apr 4 2022, 2:33 PM

✅ refresh by Heptapod after a successful CI run (🐙 💚)
⚠ This patch is intended for stable ⚠

This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.