Mercurial > public > mercurial-scm > hg-stable
diff tests/test-annotate.t @ 14358:bf93e78f2638
annotate: fix alignment of columns in front of line numbers (issue2807)
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Wed, 18 May 2011 15:41:03 +0200 |
parents | eaee75036725 |
children | a84698badf0b |
line wrap: on
line diff
--- a/tests/test-annotate.t Wed May 18 09:56:27 2011 +0200 +++ b/tests/test-annotate.t Wed May 18 15:41:03 2011 +0200 @@ -193,6 +193,26 @@ 3 b:5: b5 7 b:7: d +Issue2807: alignment of line numbers with -l + + $ echo more >> b + $ hg ci -mmore -d '5 0' + $ echo more >> b + $ hg ci -mmore -d '6 0' + $ echo more >> b + $ hg ci -mmore -d '7 0' + $ hg annotate -nlf b + 0 a: 1: a + 6 b: 2: z + 1 a: 3: a + 3 b: 4: b4 + 4 b: 5: c + 3 b: 5: b5 + 7 b: 7: d + 8 b: 8: more + 9 b: 9: more + 10 b:10: more + linkrev vs rev $ hg annotate -r tip -n a @@ -231,5 +251,5 @@ missing file $ hg ann nosuchfile - abort: nosuchfile: no such file in rev c8abddb41a00 + abort: nosuchfile: no such file in rev e9e6b4fa872f [255]