changeset 2568:82e3b2966862

Fix annotate breakage
author Matt Mackall <mpm@selenic.com>
date Thu, 06 Jul 2006 14:15:24 -0500
parents 2748253b49c2
children 78c2903fcabe
files mercurial/commands.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Wed Jul 05 13:28:25 2006 -0500
+++ b/mercurial/commands.py	Thu Jul 06 14:15:24 2006 -0500
@@ -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))