This is an archive of the discontinued Mercurial Phabricator instance.

dirstate-cext: properly invalidate mtime and data in `set_untracked`
ClosedPublic

Authored by Alphare on Mar 28 2022, 11:29 AM.

Details

Summary

This was forgotten about in the initial implementation and was revealed while
adding the dirstate-v2 variant of test-issue660.t. Neither the existing
Python implementation nor the upcoming Rust implementation suffer from this
bug since they respectively have None and Option<T> to represent the lack
of information.

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.Mar 28 2022, 11:29 AM

Pending CI refresh

This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.
baymax updated this revision to Diff 32721.Mar 28 2022, 12:24 PM

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