tests/test-revset.t
branchstable
changeset 23062 ba89f7b542c9
parent 22861 546fa6576815
child 23725 6a81f88758aa
child 23826 c90d195320c5
--- a/tests/test-revset.t	Wed Oct 22 15:47:27 2014 -0500
+++ b/tests/test-revset.t	Sun Oct 19 16:48:33 2014 +0900
@@ -437,6 +437,18 @@
   4
   8
   9
+
+Test explicit numeric revision
+  $ log 'rev(-1)'
+  $ log 'rev(0)'
+  0
+  $ log 'rev(9)'
+  9
+  $ log 'rev(10)'
+  $ log 'rev(tip)'
+  hg: parse error: rev expects a number
+  [255]
+
   $ log 'outgoing()'
   8
   9