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

login
register
mail settings
Submitter adgar@google.com
Date Nov. 6, 2014, 10:30 p.m.
Message ID <035b2368c237216b7916.1415313009@adgar.nyc.corp.google.com>
Download mbox | patch
Permalink /patch/6617/
State Accepted
Headers show

Comments

adgar@google.com - Nov. 6, 2014, 10:30 p.m.
# HG changeset patch
# User Mike Edgar <adgar@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
Augie Fackler - Nov. 9, 2014, 2:13 p.m.
On Nov 6, 2014, at 5:30 PM, Mike Edgar <adgar@google.com> wrote:

> # HG changeset patch
> # User Mike Edgar <adgar@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

queued this one a few days ago and looks like I forgot to tell the list

> 
> 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)
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel@selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel

Patch

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)