diff tests/test-bookmarks.t @ 45845:f96fa4de5055

errors: use InputError for errors about bad label names (tags etc) Differential Revision: https://phab.mercurial-scm.org/D9327
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 12 Nov 2020 10:35:33 -0800
parents 8d72e29ad1e0
children 95c4cca641f6
line wrap: on
line diff
--- a/tests/test-bookmarks.t	Thu Nov 12 09:53:14 2020 -0800
+++ b/tests/test-bookmarks.t	Thu Nov 12 10:35:33 2020 -0800
@@ -396,15 +396,15 @@
 
   $ hg bookmark tip
   abort: the name 'tip' is reserved
-  [255]
+  [10]
 
   $ hg bookmark .
   abort: the name '.' is reserved
-  [255]
+  [10]
 
   $ hg bookmark null
   abort: the name 'null' is reserved
-  [255]
+  [10]
 
 
 bookmark with existing name
@@ -431,7 +431,7 @@
 
   $ hg bookmark 10
   abort: cannot use an integer as a name
-  [255]
+  [10]
 
 bookmark with a name that matches a node id
   $ hg bookmark 925d80f479bb db815d6d32e6 --config "$TESTHOOK"
@@ -538,12 +538,12 @@
 
   $ hg bookmark 'foo:bar'
   abort: ':' cannot be used in a name
-  [255]
+  [10]
 
   $ hg bookmark 'foo
   > bar'
   abort: '\n' cannot be used in a name
-  [255]
+  [10]
 
 the bookmark extension should be ignored now that it is part of core