Mercurial > hg
changeset 36033:dae84ccebc57
tests: fix check for --graph option in test-log-linerange.t
Previous test about incompatibility of --line-range and --graph options
was problematic because, even without --graph option, the command would
have failed because specified path (dir/baz) did not exist as it got
dropped in previous test statements. New test statements should work
without --graph. This prepares for making --line-range compatible with
--graph option.
author | Denis Laxalde <denis@laxalde.org> |
---|---|
date | Sun, 11 Feb 2018 14:35:35 +0100 |
parents | f91b7f26c68a |
children | f3d8f61c425d |
files | tests/test-log-linerange.t |
diffstat | 1 files changed, 3 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-log-linerange.t Sun Feb 11 17:25:53 2018 +0530 +++ b/tests/test-log-linerange.t Sun Feb 11 14:35:35 2018 +0100 @@ -172,6 +172,9 @@ +3 +4 + $ hg log -f --graph -L foo,5:7 -p + abort: graph not supported with line range patterns + [255] With --template. @@ -849,9 +852,3 @@ $ hg log -f -L dir/baz,5:7 -p abort: cannot follow file not in parent revision: "dir/baz" [255] - -Graph log does work yet. - - $ hg log -f -L dir/baz,5:7 --graph - abort: graph not supported with line range patterns - [255]