scmutil: replace 'ctx._repo' with 'ctx.repo()'
authorMatt Harbison <matt_harbison@yahoo.com>
Thu, 12 Mar 2015 23:16:26 -0400
changeset 24338 ca1365078c86
parent 24337 696ab1a24ae0
child 24339 bcc319d936a3
scmutil: replace 'ctx._repo' with 'ctx.repo()'
mercurial/scmutil.py
--- a/mercurial/scmutil.py	Thu Mar 12 23:11:15 2015 -0400
+++ b/mercurial/scmutil.py	Thu Mar 12 23:16:26 2015 -0400
@@ -723,7 +723,7 @@
     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