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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

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.