tests/test-qrecord.t
changeset 14415 c238b12a1ed4
parent 14016 bd738875943a
child 14424 4eb88d296f63
--- a/tests/test-qrecord.t	Mon May 23 15:56:31 2011 +0200
+++ b/tests/test-qrecord.t	Mon May 23 23:09:00 2011 +0300
@@ -99,9 +99,24 @@
   abort: 'mq' extension not loaded
   [255]
 
+help (bad mq)
+
+  $ echo "mq=nonexistant" >> $HGRCPATH
+  $ hg help qrecord
+  *** failed to import extension mq from nonexistant: [Errno 2] No such file or directory
+  hg qrecord [OPTION]... PATCH [FILE]...
+  
+  interactively record a new patch
+  
+      See "hg help qnew" & "hg help record" for more information and usage.
+  
+  use "hg -v help qrecord" to show global options
+
 help (mq present)
 
-  $ echo "mq="              >> $HGRCPATH
+  $ sed 's/mq=nonexistant/mq=/' $HGRCPATH > hgrc.tmp
+  $ mv hgrc.tmp $HGRCPATH
+
   $ hg help qrecord
   hg qrecord [OPTION]... PATCH [FILE]...