# HG changeset patch # User Yuya Nishihara # Date 1543057555 -32400 # Node ID 92c574684f757b2e25ea008b743168eca9e7e992 # Parent d4c550c703d7177a7bcf1cbd371bb07e72457795 annotate: remove dead code to not convert path to relative path It's annotate. There should be at least one file path specified. diff -r d4c550c703d7 -r 92c574684f75 mercurial/commands.py --- a/mercurial/commands.py Sat Nov 24 18:41:44 2018 +0900 +++ b/mercurial/commands.py Sat Nov 24 20:05:55 2018 +0900 @@ -412,8 +412,7 @@ rootfm.startitem() rootfm.data(path=abs) if not opts.get('text') and fctx.isbinary(): - rootfm.plain(_("%s: binary file\n") - % ((pats and m.rel(abs)) or abs)) + rootfm.plain(_("%s: binary file\n") % m.rel(abs)) continue fm = rootfm.nested('lines', tmpl='{rev}: {line}')