# HG changeset patch
# User Bryan O'Sullivan <bryano@fb.com>
# Date 2013-04-13 00:20:09
# Node ID 5093d2a87ff6fb99d054aa1006a2c2073c467584
# Parent  fafe9ca2a749822128ea25c721a610b51713d826

pvec: use the correct name for an identifier

Found using Cython.

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