tests/test-log-linerange.t
changeset 34907 0ccfc468423a
parent 34906 2e45bbd3db7b
child 34937 af924308110a
--- a/tests/test-log-linerange.t	Thu Oct 19 14:12:49 2017 +0200
+++ b/tests/test-log-linerange.t	Thu Oct 19 14:55:10 2017 +0200
@@ -842,6 +842,14 @@
   hg: parse error: line range pattern 'glob:*a*' must match exactly one file
   [255]
 
+We get an error for removed files.
+
+  $ hg rm dir/baz
+  $ hg ci -m 'remove baz' --quiet
+  $ 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