diff tests/test-branches.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 c4b792fa109e
line wrap: on
line diff
--- a/tests/test-branches.t	Thu Nov 12 09:53:14 2020 -0800
+++ b/tests/test-branches.t	Thu Nov 12 10:35:33 2020 -0800
@@ -51,24 +51,24 @@
 
   $ hg branch tip
   abort: the name 'tip' is reserved
-  [255]
+  [10]
   $ hg branch null
   abort: the name 'null' is reserved
-  [255]
+  [10]
   $ hg branch .
   abort: the name '.' is reserved
-  [255]
+  [10]
 
 invalid characters
 
   $ hg branch 'foo:bar'
   abort: ':' cannot be used in a name
-  [255]
+  [10]
 
   $ hg branch 'foo
   > bar'
   abort: '\n' cannot be used in a name
-  [255]
+  [10]
 
 trailing or leading spaces should be stripped before testing duplicates