mercurial/commands.py
changeset 37144 eb4a23382e18
parent 37136 a2a6755a3def
child 37145 bb141aa54728
--- a/mercurial/commands.py	Wed Mar 28 22:06:47 2018 +0900
+++ b/mercurial/commands.py	Wed Mar 28 15:30:09 2018 -0700
@@ -3258,10 +3258,9 @@
         end = '\0'
     else:
         end = '\n'
-    rev = scmutil.revsingle(repo, opts.get('rev'), None).node()
+    ctx = scmutil.revsingle(repo, opts.get('rev'), None)
 
     ret = 1
-    ctx = repo[rev]
     m = scmutil.match(ctx, pats, opts, default='relglob',
                       badfn=lambda x, y: False)