diff tests/test-rhg.t @ 46033:88e741bf2d93

rust: use NodePrefix::from_hex instead of hex::decode directly This adds support for prefixes with an odd number of hex digits. Differential Revision: https://phab.mercurial-scm.org/D9490
author Simon Sapin <simon-commits@exyr.org>
date Wed, 02 Dec 2020 15:00:49 +0100
parents 8d6164098782
children 0c02c2a0badb
line wrap: on
line diff
--- a/tests/test-rhg.t	Mon Nov 30 19:34:49 2020 +0100
+++ b/tests/test-rhg.t	Wed Dec 02 15:00:49 2020 +0100
@@ -115,8 +115,10 @@
   $ rhg cat -r cf8b83 file-2
   2
   $ rhg cat -r c file-2
-  abort: invalid revision identifier c
+  abort: ambiguous revision identifier c
   [255]
+  $ rhg cat -r d file-2
+  2
 
 Cat files
   $ cd $TESTTMP