tests/test-command-template.t
changeset 25740 47469fa8fb01
parent 25736 8854ca3fa675
child 25762 f4412380d357
--- a/tests/test-command-template.t	Thu Jul 02 22:03:06 2015 +0900
+++ b/tests/test-command-template.t	Thu Jul 02 22:18:21 2015 +0900
@@ -51,6 +51,12 @@
   8 t
   7 f
 
+Working-directory revision has special identifiers, though they are still
+experimental:
+
+  $ hg log -r 'wdir()' -T '{rev}:{node}\n'
+  2147483647:ffffffffffffffffffffffffffffffffffffffff
+
 Some keywords are invalid for working-directory revision, but they should
 never cause crash: