##// END OF EJS Templates
annotate: remove redundant check for empty list of annotation data...
Yuya Nishihara -
r22452:75e166b8 default
parent child Browse files
Show More
@@ -323,12 +323,11 b' def annotate(ui, repo, *pats, **opts):'
323 pieces.append(["%s%s%s" % (sep, ' ' * (ml - w), x)
323 pieces.append(["%s%s%s" % (sep, ' ' * (ml - w), x)
324 for x, w in sized])
324 for x, w in sized])
325
325
326 if pieces:
326 for p, l in zip(zip(*pieces), lines):
327 for p, l in zip(zip(*pieces), lines):
327 ui.write("%s: %s" % ("".join(p), l[1]))
328 ui.write("%s: %s" % ("".join(p), l[1]))
328
329
329 if lines and not lines[-1][1].endswith('\n'):
330 if lines and not lines[-1][1].endswith('\n'):
330 ui.write('\n')
331 ui.write('\n')
332
331
333 @command('archive',
332 @command('archive',
334 [('', 'no-decode', None, _('do not pass files through decoders')),
333 [('', 'no-decode', None, _('do not pass files through decoders')),
General Comments 0
You need to be logged in to leave comments. Login now