changeset 24338:ca1365078c86

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