tests/test-rhg.t
changeset 45996 904647f7d983
parent 45938 f5d62f4d5327
child 46032 8d6164098782
--- a/tests/test-rhg.t	Tue Dec 01 02:07:15 2020 +0100
+++ b/tests/test-rhg.t	Mon Nov 30 19:26:54 2020 +0100
@@ -116,6 +116,26 @@
   $ rhg cat -r 1 copy_of_original
   original content
 
+Specifying revisions by changeset ID
+  $ hg log
+  changeset:   1:41263439dc17
+  tag:         tip
+  user:        test
+  date:        Thu Jan 01 00:00:00 1970 +0000
+  summary:     add copy of original
+  
+  changeset:   0:1c9e69808da7
+  user:        test
+  date:        Thu Jan 01 00:00:00 1970 +0000
+  summary:     add original
+  
+  $ rhg files -r 41263439dc17
+  abort: invalid revision identifier 41263439dc17
+  [255]
+  $ rhg cat -r 41263439dc17 original
+  abort: invalid revision identifier 41263439dc17
+  [255]
+
 Requirements
   $ rhg debugrequirements
   dotencode