diff tests/test-branches.t @ 49968:566f7dd563c1 stable

scmutil: make checknewlabel() allow "_" in otherwise numeric names (issue6737)
author Anton Shestakov <av6@dwimlabs.net>
date Sat, 28 Jan 2023 18:26:28 +0400
parents 3adca6eb6659
children 02e7d79edf62
line wrap: on
line diff
--- a/tests/test-branches.t	Mon Jan 09 17:48:54 2023 +0100
+++ b/tests/test-branches.t	Sat Jan 28 18:26:28 2023 +0400
@@ -82,6 +82,11 @@
   (use 'hg update' to switch to it)
   [10]
 
+underscores in numeric branch names (issue6737)
+
+  $ hg branch 2700_210
+  marked working directory as branch 2700_210
+
 verify update will accept invalid legacy branch names
 
   $ hg init test-invalid-branch-name