changeset 10427:400ffd5f2f14

test-mq-qclone: test --mq option
author Patrick Mezard <pmezard@gmail.com>
date Fri, 12 Feb 2010 21:30:24 +0100
parents 5a3a916aad58
children 1c50a954a524
files tests/test-mq-qclone-http tests/test-mq-qclone-http.out
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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