[Updated] D12443: dirstate: fix some typos in docstrings

Alphare (Raphaël Gomès) phabricator at mercurial-scm.org
Fri Apr 8 15:55:20 UTC 2022


Closed by commit rHG1f397128ee79: dirstate: fix some typos in docstrings (authored by Alphare).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D12443?vs=32818&id=32879

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D12443/new/

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

AFFECTED FILES
  mercurial/dirstatemap.py

CHANGE DETAILS

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.
         """
 



To: Alphare, #hg-reviewers, marmoute
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20220408/2edb6f1b/attachment-0002.html>


More information about the Mercurial-patches mailing list