Patchwork D12443: dirstate: fix some typos in docstrings

login
register
mail settings
Submitter phabricator
Date April 6, 2022, 2:10 p.m.
Message ID <differential-rev-PHID-DREV-rmyddp562gezeaawtd3x-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/50789/
State New
Headers show

Comments

phabricator - April 6, 2022, 2:10 p.m.
Alphare created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  I was passing by and they've been bothering me. :)

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

AFFECTED FILES
  mercurial/dirstatemap.py

CHANGE DETAILS




To: Alphare, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/mercurial/dirstatemap.py b/mercurial/dirstatemap.py
--- a/mercurial/dirstatemap.py
+++ b/mercurial/dirstatemap.py
@@ -85,16 +85,16 @@ 
     # with minor difference between implementation.
 
     def _dirs_incr(self, filename, old_entry=None):
-        """incremente the dirstate counter if applicable
+        """increment the dirstate counter if applicable
 
-        This might be a no-op for some subclass who deal with directory
+        This might be a no-op for some subclasses who deal with directory
         tracking in a different way.
         """
 
     def _dirs_decr(self, filename, old_entry=None, remove_variant=False):
-        """decremente the dirstate counter if applicable
+        """decrement the dirstate counter if applicable
 
-        This might be a no-op for some subclass who deal with directory
+        This might be a no-op for some subclasses who deal with directory
         tracking in a different way.
         """