tests/test-log.t
changeset 35299 89b5c2ae1980
parent 35298 921680c3e2ea
child 35300 d36eda8896cc
--- a/tests/test-log.t	Thu Sep 22 19:11:26 2016 +0900
+++ b/tests/test-log.t	Thu Sep 22 19:35:36 2016 +0900
@@ -735,16 +735,22 @@
 
 follow files starting from multiple revisions:
 
-  $ hg log -T '{rev}: {files}\n' -r "follow('glob:b?', 2+3+4)"
+  $ hg log -T '{rev}: {files}\n' -r "follow('glob:b?', startrev=2+3+4)"
   3: b1
   4: b2
 
 follow files starting from empty revision:
 
-  $ hg log -T '{rev}: {files}\n' -r "follow('glob:*', .-.)"
+  $ hg log -T '{rev}: {files}\n' -r "follow('glob:*', startrev=.-.)"
   abort: follow expected at least one starting revision!
   [255]
 
+follow starting from revisions:
+
+  $ hg log -Gq -r "follow(startrev=2+4)"
+  hg: parse error: follow takes no arguments or a pattern and an optional revset
+  [255]
+
   $ hg up -qC 4
 
 log -f -r null