Patchwork D6263: Typos

login
register
mail settings
Submitter phabricator
Date April 17, 2019, 12:37 p.m.
Message ID <differential-rev-PHID-DREV-wsof5wxh7waainldq2oc-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/39694/
State Superseded
Headers show

Comments

phabricator - April 17, 2019, 12:37 p.m.
joerg.sonnenberger created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  mercurial/setdiscovery.py

CHANGE DETAILS




To: joerg.sonnenberger, #hg-reviewers
Cc: mercurial-devel
phabricator - April 17, 2019, 10:41 p.m.
martinvonz added a comment.


  I haven't run tests on this, but I'm guessing one of the `test-check*` tests will tell you that your subject line ("Typos") does not follow our style guide (you could change it to something like "setdiscovery: fix a few typos").

REPOSITORY
  rHG Mercurial

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

To: joerg.sonnenberger, #hg-reviewers
Cc: martinvonz, mercurial-devel

Patch

diff --git a/mercurial/setdiscovery.py b/mercurial/setdiscovery.py
--- a/mercurial/setdiscovery.py
+++ b/mercurial/setdiscovery.py
@@ -181,13 +181,13 @@ 
         self.missing = set()
 
     def addcommons(self, commons):
-        """registrer nodes known as common"""
+        """register nodes known as common"""
         self._common.addbases(commons)
         if self._undecided is not None:
             self._common.removeancestorsfrom(self._undecided)
 
     def addmissings(self, missings):
-        """registrer some nodes as missing"""
+        """register some nodes as missing"""
         newmissing = self._repo.revs('%ld::%ld', missings, self.undecided)
         if newmissing:
             self.missing.update(newmissing)