mercurial/commands.py
changeset 2574 78c2903fcabe
parent 2573 b13a98bd078e
parent 2568 82e3b2966862
child 2579 0875cda033fd
--- a/mercurial/commands.py	Thu Jul 06 15:03:34 2006 -0700
+++ b/mercurial/commands.py	Thu Jul 06 15:04:10 2006 -0700
@@ -765,7 +765,7 @@
 
     ctx = repo.changectx(opts['rev'] or repo.dirstate.parents()[0])
 
-    for src, abs, rel, exact in walk(repo, pats, opts, node=node):
+    for src, abs, rel, exact in walk(repo, pats, opts, node=ctx.node()):
         fctx = ctx.filectx(abs)
         if not opts['text'] and util.binary(fctx.data()):
             ui.write(_("%s: binary file\n") % ((pats and rel) or abs))