[PATCH cleanup] dagutil: fix id/ix typos in docstrings

Mike Edgar adgar at google.com
Thu Nov 6 16:30:09 CST 2014


# HG changeset patch
# User Mike Edgar <adgar at google.com>
# Date 1414182404 14400
#      Fri Oct 24 16:26:44 2014 -0400
# Node ID 035b2368c237216b79169a1d35901e45da4df077
# Parent  2d54aa5397cdb1c697673ba10b7618d5ac25c69e
dagutil: fix id/ix typos in docstrings

diff -r 2d54aa5397cd -r 035b2368c237 mercurial/dagutil.py
--- a/mercurial/dagutil.py	Sat Oct 18 01:09:41 2014 -0700
+++ b/mercurial/dagutil.py	Fri Oct 24 16:26:44 2014 -0400
@@ -25,7 +25,7 @@
         self._inverse = None
 
     def nodeset(self):
-        '''set of all node idxs'''
+        '''set of all node ixs'''
         raise NotImplementedError
 
     def heads(self):
@@ -77,7 +77,7 @@
         return self._internalize(id)
 
     def internalizeall(self, ids, filterunknown=False):
-        '''return a list of (or set if given a set) of node ids'''
+        '''return a list of (or set if given a set) of node ixs'''
         ixs = self._internalizeall(ids, filterunknown)
         if isinstance(ids, set):
             return set(ixs)


More information about the Mercurial-devel mailing list