diff tests/test-mq-qnew @ 11575:a5903e612f07

mq: evaluate --user before invoking editor with -e (issue2289)
author Brendan Cully <brendan@kublai.com>
date Thu, 15 Jul 2010 10:41:41 -0700
parents 0c944b7af564
children
line wrap: on
line diff
--- a/tests/test-mq-qnew	Thu Jul 15 14:41:22 2010 +0200
+++ b/tests/test-mq-qnew	Thu Jul 15 10:41:41 2010 -0700
@@ -70,6 +70,10 @@
     HGUSER= hg qnew -u blue red
     catpatch ../.hg/patches/red
 
+    echo '% qnew -e -u with no username configured'
+    HGUSER= hg qnew -e -u chartreuse fucsia
+    catpatch ../.hg/patches/fucsia
+
     echo '% fail when trying to import a merge'
     hg init merge
     cd merge