Again, various counters need to be kept up to date.
Details
Details
Diff Detail
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
rust/hg-core/src/dirstate_tree/dirstate_map.rs | ||
---|---|---|
337–338 | A later commit “dirstate-tree: Fold "tracked descendants" counter update in main walk” ends up using it. (The same info is already in the tree, but having it available before tree lookup enables some optimization.) | |
367 | I agree. I’ll do that in a future separate patch. |
Maybe leave a comment saying why old_state isn't useful in this implementation.