Patchwork [5,of,5,in,crew] pvec: use the correct name for an identifier

login
register
mail settings
Submitter Bryan O'Sullivan
Date April 13, 2013, 12:20 a.m.
Message ID <5093d2a87ff6fb99d054.1365812446@australite.local>
Download mbox | patch
Permalink /patch/1293/
State Accepted
Commit 5093d2a87ff6fb99d054aa1006a2c2073c467584
Headers show

Comments

Bryan O'Sullivan - April 13, 2013, 12:20 a.m.
# HG changeset patch
# User Bryan O'Sullivan <bryano@fb.com>
# Date 1365812409 25200
#      Fri Apr 12 17:20:09 2013 -0700
# Node ID 5093d2a87ff6fb99d054aa1006a2c2073c467584
# Parent  fafe9ca2a749822128ea25c721a610b51713d826
pvec: use the correct name for an identifier

Found using Cython.

Patch

diff --git a/mercurial/pvec.py b/mercurial/pvec.py
--- a/mercurial/pvec.py
+++ b/mercurial/pvec.py
@@ -169,7 +169,7 @@  class pvec(object):
             self._bs = hashorctx
             self._depth, self._vec = _split(base85.b85decode(hashorctx))
         else:
-            self._vec = ctxpvec(ctx)
+            self._vec = ctxpvec(hashorctx)
 
     def __str__(self):
         return self._bs