[PATCH 7 of 8] pvec: replace 'ctx._repo' with 'ctx.repo()'
Matt Harbison
mharbison72 at gmail.com
Fri Mar 13 20:28:38 CDT 2015
# HG changeset patch
# User Matt Harbison <matt_harbison at yahoo.com>
# Date 1426216700 14400
# Thu Mar 12 23:18:20 2015 -0400
# Node ID 5bed1bb23db9ce521f1d0b950e6dc88d59b1029f
# Parent e3c6e04cbb28b365e7590abad455f72e9d1b3a20
pvec: replace 'ctx._repo' with 'ctx.repo()'
diff --git a/mercurial/pvec.py b/mercurial/pvec.py
--- a/mercurial/pvec.py
+++ b/mercurial/pvec.py
@@ -142,7 +142,7 @@
def ctxpvec(ctx):
'''construct a pvec for ctx while filling in the cache'''
- r = ctx._repo
+ r = ctx.repo()
if not util.safehasattr(r, "_pveccache"):
r._pveccache = {}
pvc = r._pveccache
More information about the Mercurial-devel
mailing list