tests/test-qrecord.t
changeset 14424 4eb88d296f63
parent 14415 c238b12a1ed4
child 14448 7d367e8f892d
--- a/tests/test-qrecord.t	Tue May 24 19:16:51 2011 +0300
+++ b/tests/test-qrecord.t	Tue May 24 19:17:02 2011 +0300
@@ -219,6 +219,12 @@
    someone
    up
 
+qrecord with bad patch name, should abort before prompting
+
+  $ hg qrecord .hg
+  abort: patch name cannot begin with ".hg"
+  [255]
+
 qrecord a.patch
 
   $ hg qrecord -d '0 0' -m aaa a.patch <<EOF