[Updated] D11840: rhg: Update the dirstate on disk after status

SimonSapin phabricator at mercurial-scm.org
Tue Dec 7 09:07:58 UTC 2021


SimonSapin added inline comments.

INLINE COMMENTS

> Alphare wrote in status.rs:443
> I think we should add a comment here explaining why this racy code is not racy (because it's gated behind  the `mtime_boundary` and any change that is caught in this boundary is discarded from this anyway).

This was actually missing all of the `mtime_boundary` logic since I had ported to Rust an earlier version of the Python code, without the recent changes that added `mtime_boundary` during ambiguous file resolution. This is fixed in the latest revision of this patch.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D11840/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D11840

To: SimonSapin, #hg-reviewers, Alphare
Cc: Alphare, mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20211207/d3152227/attachment-0002.html>


More information about the Mercurial-patches mailing list