diff tests/test-revisions.t @ 46115:be3d8178251e

errors: raise InputError if an ambiguous revision id prefix is used It's long bothered me that we include the "00changelog.i" part in a message to the user. This fixes that along with the exit code. Differential Revision: https://phab.mercurial-scm.org/D9600
author Martin von Zweigbergk <martinvonz@google.com>
date Wed, 09 Dec 2020 20:22:25 -0800
parents 95c4cca641f6
children
line wrap: on
line diff
--- a/tests/test-revisions.t	Thu Dec 10 01:18:15 2020 -0800
+++ b/tests/test-revisions.t	Wed Dec 09 20:22:25 2020 -0800
@@ -36,8 +36,8 @@
   1:9
 7 was ambiguous and still is
   $ hg l -r 7
-  abort: 00changelog.i@7: ambiguous identifier
-  [255]
+  abort: ambiguous revision identifier: 7
+  [10]
 7b is no longer ambiguous
   $ hg l -r 7b
   3:7b