tests/test-mq-qimport.t
changeset 14395 dc961471efde
parent 12642 bb35840e965c
child 14396 170747a3e139
--- a/tests/test-mq-qimport.t	Sat May 21 15:01:28 2011 -0500
+++ b/tests/test-mq-qimport.t	Fri May 20 21:19:33 2011 +0300
@@ -202,3 +202,9 @@
   $ hg qser
   this-name-is-better
   url.diff
+
+qimport with bad name, should abort before reading file
+
+  $ hg qimport non-existant-file --name .hg
+  abort: patch name cannot begin with ".hg"
+  [255]