test-revset: add tests for missing function output
An upcoming change will slightly alter behavior here. Adding the test
now so the output change stands out in the later changeset.
--- a/tests/test-revset.t Mon Jan 26 14:32:30 2015 -0500
+++ b/tests/test-revset.t Mon Jan 26 15:52:46 2015 -0500
@@ -888,6 +888,20 @@
hg: parse error: ^ expects a number 0, 1, or 2
[255]
+Bogus function gets suggestions
+ $ log 'add()'
+ hg: parse error: not a function: add
+ [255]
+ $ log 'added()'
+ hg: parse error: not a function: added
+ [255]
+ $ log 'remo()'
+ hg: parse error: not a function: remo
+ [255]
+ $ log 'babar()'
+ hg: parse error: not a function: babar
+ [255]
+
multiple revspecs
$ hg log -r 'tip~1:tip' -r 'tip~2:tip~1' --template '{rev}\n'