changeset 24301:18b5b2c9d921

files: replace 'ctx._repo' with 'ctx.repo()'
author Matt Harbison <matt_harbison@yahoo.com>
date Thu, 12 Mar 2015 22:55:35 -0400
parents a07314472a80
children 6e092ea2eff1
files mercurial/cmdutil.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/cmdutil.py	Thu Mar 12 22:54:53 2015 -0400
+++ b/mercurial/cmdutil.py	Thu Mar 12 22:55:35 2015 -0400
@@ -2222,7 +2222,7 @@
 def files(ui, ctx, m, fm, fmt):
     rev = ctx.rev()
     ret = 1
-    ds = ctx._repo.dirstate
+    ds = ctx.repo().dirstate
 
     for f in ctx.matches(m):
         if rev is None and ds[f] == 'r':