changeset 24339:bcc319d936a3

pvec: replace 'ctx._repo' with 'ctx.repo()'
author Matt Harbison <matt_harbison@yahoo.com>
date Thu, 12 Mar 2015 23:18:20 -0400
parents ca1365078c86
children 567ae5365754
files mercurial/pvec.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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