# HG changeset patch # User Matt Harbison # Date 2015-03-13 03:16:26 # Node ID ca1365078c8655528a9104e8c4112019b18eb870 # Parent 696ab1a24ae0ba4b9012028b9e184c24e3fbf9dc scmutil: replace 'ctx._repo' with 'ctx.repo()' diff --git a/mercurial/scmutil.py b/mercurial/scmutil.py --- a/mercurial/scmutil.py +++ b/mercurial/scmutil.py @@ -723,7 +723,7 @@ def matchandpats(ctx, pats=[], opts={}, m = ctx.match(pats, opts.get('include'), opts.get('exclude'), default) def badfn(f, msg): - ctx._repo.ui.warn("%s: %s\n" % (m.rel(f), msg)) + ctx.repo().ui.warn("%s: %s\n" % (m.rel(f), msg)) m.bad = badfn return m, pats