mercurial/pvec.py
changeset 24339 bcc319d936a3
parent 18918 5093d2a87ff6
child 27501 983e93d88193
--- 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