mercurial/commands.py
changeset 24274 9640820bc957
parent 24258 093e8a5e995f
child 24275 e1cb460a3524
--- a/mercurial/commands.py	Tue Mar 10 13:56:05 2015 -0700
+++ b/mercurial/commands.py	Sun Mar 08 16:45:29 2015 -0400
@@ -3268,7 +3268,7 @@
     fmt = '%s' + end
 
     m = scmutil.match(ctx, pats, opts)
-    ds = repo.dirstate
+    ds = ctx._repo.dirstate
     for f in ctx.matches(m):
         if rev is None and ds[f] == 'r':
             continue