Mercurial > public > mercurial-scm > hg
diff tests/test-annotate.t @ 31991:55987fc8aba1
context: add an assertion checking linerange consistency in blockdescendants()
If this assertion fails, this indicates a flaw in the algorithm. So fail fast
instead of possibly producing wrong results.
Also extend the target line range in test to catch a merge changeset with all
its parents.
author | Denis Laxalde <denis.laxalde@logilab.fr> |
---|---|
date | Fri, 14 Apr 2017 14:09:26 +0200 |
parents | 4c2c30bc38b4 |
children | 3e47a40d7a7a |
line wrap: on
line diff
--- a/tests/test-annotate.t Fri Apr 14 12:34:26 2017 -0700 +++ b/tests/test-annotate.t Fri Apr 14 14:09:26 2017 +0200 @@ -606,7 +606,7 @@ $ mv baz.new baz $ hg ci -m 'baz:3->+3' created new head - $ hg log -T '{rev}: {desc}\n' -r 'followlines(baz, 3:5, startrev=16, descend=True)' --graph + $ hg log -T '{rev}: {desc}\n' -r 'followlines(baz, 2:5, startrev=16, descend=True)' --graph @ 29: baz:3->+3 : : o 26: baz:3+->3- @@ -615,10 +615,11 @@ :/ o 20: baz:4 |\ - | ~ - o 19: baz:3 - | - ~ + | o 19: baz:3 + |/ + o 18: baz:2 + |\ + ~ ~ check error cases $ hg up 23 --quiet