Mercurial > public > mercurial-scm > hg-stable
diff mercurial/pvec.py @ 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 | 5093d2a87ff6 |
children | 983e93d88193 |
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