diff tests/test-mq-qrefresh-replace-log-message @ 5334:448eb46d4d84

mq: fix qrefresh -e with no patches applied
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Mon, 24 Sep 2007 19:00:11 -0300
parents 7a7d4937272b
children
line wrap: on
line diff
--- a/tests/test-mq-qrefresh-replace-log-message
+++ b/tests/test-mq-qrefresh-replace-log-message
@@ -8,6 +8,11 @@ echo "mq=" >> $HGRCPATH
 hg init
 hg qinit
 
+echo =======================
+echo "Should fail if no patches applied"
+hg qrefresh
+hg qrefresh -e
+
 hg qnew -m "First commit message" first-patch
 echo aaaa > file
 hg add file