[Updated] D11488: dirstate: Don’t drop unrelated data in DirstateMap::set_entry
SimonSapin
phabricator at mercurial-scm.org
Tue Sep 28 08:10:21 UTC 2021
Closed by commit rHGf6d0a89fdf80: dirstate: Don’t drop unrelated data in DirstateMap::set_entry (authored by SimonSapin).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D11488?vs=30382&id=30415
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D11488/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D11488
AFFECTED FILES
rust/hg-core/src/dirstate_tree/dirstate_map.rs
CHANGE DETAILS
diff --git a/rust/hg-core/src/dirstate_tree/dirstate_map.rs b/rust/hg-core/src/dirstate_tree/dirstate_map.rs
--- a/rust/hg-core/src/dirstate_tree/dirstate_map.rs
+++ b/rust/hg-core/src/dirstate_tree/dirstate_map.rs
@@ -762,10 +762,6 @@
let node =
self.get_or_insert(&filename).expect("no parse error in v1");
node.data = NodeData::Entry(entry);
- node.children = ChildNodes::default();
- node.copy_source = None;
- node.descendants_with_entry_count = 0;
- node.tracked_descendants_count = 0;
}
fn add_file(
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/20210928/01f297bd/attachment-0002.html>
More information about the Mercurial-patches
mailing list