test-mq-qclone: test --mq option
authorPatrick Mezard <pmezard@gmail.com>
Fri, 12 Feb 2010 21:30:24 +0100
changeset 10427 400ffd5f2f14
parent 10426 5a3a916aad58
child 10429 1c50a954a524
test-mq-qclone: test --mq option
tests/test-mq-qclone-http
tests/test-mq-qclone-http.out
--- a/tests/test-mq-qclone-http	Fri Feb 12 16:04:00 2010 +0100
+++ b/tests/test-mq-qclone-http	Fri Feb 12 21:30:24 2010 +0100
@@ -75,3 +75,7 @@
 hg --cwd d log --template "{desc}\n"
 hg --cwd d qpush -a
 hg --cwd d log --template "{desc}\n"
+
+echo '% test --mq works and uses correct repository config'
+hg --cwd d outgoing --mq
+hg --cwd d log --mq --template '{rev} {desc|firstline}\n'
--- a/tests/test-mq-qclone-http.out	Fri Feb 12 16:04:00 2010 +0100
+++ b/tests/test-mq-qclone-http.out	Fri Feb 12 21:30:24 2010 +0100
@@ -78,3 +78,8 @@
 now at: b.patch
 imported patch b.patch
 a
+% test --mq works and uses correct repository config
+comparing with http://localhost:20061/a/.hg/patches
+searching for changes
+no changes found
+0 b.patch