Page MenuHomePhabricator

dirstatemap: create `_dirs_incr/_dirs_decr` methods on the common class
ClosedPublic

Authored by marmoute on Oct 2 2021, 11:05 AM.

Details

Summary

The Rust wrapper does not need them. However having a default, no-op,
implementation will help use to write code used by both implementation.

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

marmoute created this revision.Oct 2 2021, 11:05 AM
Alphare accepted this revision.Oct 3 2021, 4:11 PM
Alphare added a subscriber: Alphare.
Alphare added inline comments.
mercurial/dirstatemap.py
88

s/incremente/increment/, safe for "decrement" below. Also "the dirstate counter" is a little vague, this could be a follow-up.

This revision is now accepted and ready to land.Oct 3 2021, 4:11 PM