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.
--- 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]