annotate: remove dead code to not convert path to relative path
authorYuya Nishihara <yuya@tcha.org>
Sat, 24 Nov 2018 20:05:55 +0900
changeset 40717 92c574684f75
parent 40716 d4c550c703d7
child 40718 5bcf264bb1a0
annotate: remove dead code to not convert path to relative path It's annotate. There should be at least one file path specified.
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}')