##// END OF EJS Templates
Fix annotate breakage
Matt Mackall -
r2568:82e3b296 default
parent child Browse files
Show More
@@ -765,7 +765,7 b' def annotate(ui, repo, *pats, **opts):'
765
765
766 ctx = repo.changectx(opts['rev'] or repo.dirstate.parents()[0])
766 ctx = repo.changectx(opts['rev'] or repo.dirstate.parents()[0])
767
767
768 for src, abs, rel, exact in walk(repo, pats, opts, node=node):
768 for src, abs, rel, exact in walk(repo, pats, opts, node=ctx.node()):
769 fctx = ctx.filectx(abs)
769 fctx = ctx.filectx(abs)
770 if not opts['text'] and util.binary(fctx.data()):
770 if not opts['text'] and util.binary(fctx.data()):
771 ui.write(_("%s: binary file\n") % ((pats and rel) or abs))
771 ui.write(_("%s: binary file\n") % ((pats and rel) or abs))
General Comments 0
You need to be logged in to leave comments. Login now