pvec: replace 'ctx._repo' with 'ctx.repo()'
authorMatt Harbison <matt_harbison@yahoo.com>
Thu, 12 Mar 2015 23:18:20 -0400
changeset 24339 bcc319d936a3
parent 24338 ca1365078c86
child 24340 567ae5365754
pvec: replace 'ctx._repo' with 'ctx.repo()'
mercurial/pvec.py
--- a/mercurial/pvec.py	Thu Mar 12 23:16:26 2015 -0400
+++ b/mercurial/pvec.py	Thu Mar 12 23:18:20 2015 -0400
@@ -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