# HG changeset patch # User Matt Harbison # Date 2015-03-13 03:18:20 # Node ID bcc319d936a388914ef522ff380db6b536067e8a # Parent ca1365078c8655528a9104e8c4112019b18eb870 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 _flipbit(v, node): 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