[PATCH 4 of 6 sethelp v2] test-revset: add tests for missing function output
Augie Fackler
raf at durin42.com
Fri Mar 6 17:01:45 CST 2015
# HG changeset patch
# User Augie Fackler <augie at google.com>
# Date 1422305566 18000
# Mon Jan 26 15:52:46 2015 -0500
# Node ID b92c724cedb2f5197359993df428e4df3b4817e8
# Parent 6f82cc057e0175b41fdb3669c471132c4c58b077
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.
diff --git a/tests/test-revset.t b/tests/test-revset.t
--- a/tests/test-revset.t
+++ b/tests/test-revset.t
@@ -888,6 +888,20 @@ parentrevspec
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'
More information about the Mercurial-devel
mailing list