[Commented On] D10555: rust: Remove handling of `parents` in `DirstateMap`

SimonSapin phabricator at mercurial-scm.org
Mon May 3 16:50:00 UTC 2021


SimonSapin added a comment.


  We are removing support in hg-core’s `DirstateMap` for reading //only// parents from disk. (The logic for this still exists in `hg_core::dirstate::parsers::parse_dirstate_parents`) With this changset and the next, creating a `DirstateMap` means reading the entire dirstate from disk.
  
  Reading the entire dirstate returns a `DirstateParents` to the caller. (This hasn’t changed.) Serializing an entire dirstate requires the caller to provide a `DirstateParents`. (This also hasn’t changed).

REPOSITORY
  rHG Mercurial

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

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

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


More information about the Mercurial-patches mailing list