tests/test-mq-qimport.t
branchstable
changeset 27513 707cdf2c3700
parent 26736 143b52fce68e
child 27919 db24d6888896
--- a/tests/test-mq-qimport.t	Fri Dec 18 20:54:41 2015 -0800
+++ b/tests/test-mq-qimport.t	Wed Dec 23 22:28:52 2015 +0900
@@ -290,3 +290,26 @@
   $ cd ..
 
   $ killdaemons.py
+
+check patch name generation for non-alpha-numeric summary line
+
+  $ cd repo
+
+  $ hg qpop -a -q
+  patch queue now empty
+  $ hg qseries -v
+  0 U imported_patch_b_diff
+  1 U 0
+  2 U this-name-is-better
+  3 U url.diff
+
+  $ echo bb >> b
+  $ hg commit -m '==++--=='
+
+  $ hg qimport -r tip
+  $ hg qseries -v
+  0 A 1.diff
+  1 U imported_patch_b_diff
+  2 U 0
+  3 U this-name-is-better
+  4 U url.diff