diff tests/test-tag.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 527ce85c2e60
children 768056549737
line wrap: on
line diff
--- a/tests/test-tag.t	Thu Nov 12 09:53:14 2020 -0800
+++ b/tests/test-tag.t	Thu Nov 12 10:35:33 2020 -0800
@@ -64,13 +64,13 @@
   [10]
   $ hg tag tap nada dot tip
   abort: the name 'tip' is reserved
-  [255]
+  [10]
   $ hg tag .
   abort: the name '.' is reserved
-  [255]
+  [10]
   $ hg tag null
   abort: the name 'null' is reserved
-  [255]
+  [10]
   $ hg tag "bleah"
   abort: tag 'bleah' already exists (use -f to force)
   [10]
@@ -157,10 +157,10 @@
   $ hg tag -l 'xx
   > newline'
   abort: '\n' cannot be used in a name
-  [255]
+  [10]
   $ hg tag -l 'xx:xx'
   abort: ':' cannot be used in a name
-  [255]
+  [10]
 
 cloning local tags