# HG changeset patch # User Denis Laxalde # Date 1518356135 -3600 # Node ID dae84ccebc570a3b07b7ae48120143d95b525255 # Parent f91b7f26c68ac87961aa6ef883ba96e5a2822ad3 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. diff -r f91b7f26c68a -r dae84ccebc57 tests/test-log-linerange.t --- 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]