Mercurial > hg-stable
changeset 7094:a4769dec7773
annotate: fix bug when annotating multiple files
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sun, 12 Oct 2008 19:21:07 -0500 |
parents | 16bafcebd3d1 |
children | 0ed11838bd1a |
files | mercurial/commands.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Sun Oct 12 15:21:08 2008 -0500 +++ b/mercurial/commands.py Sun Oct 12 19:21:07 2008 -0500 @@ -123,8 +123,8 @@ for f in funcmap: l = [f(n) for n, dummy in lines] if l: - m = max(map(len, l)) - pieces.append(["%*s" % (m, x) for x in l]) + ml = max(map(len, l)) + pieces.append(["%*s" % (ml, x) for x in l]) if pieces: for p, l in zip(zip(*pieces), lines):