( )⚙ D11570 dirstatemap: create `_dirs_incr/_dirs_decr` methods on the common class

This is an archive of the discontinued Mercurial Phabricator instance.

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
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

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