# HG changeset patch # User Patrick Mezard # Date 2010-02-12 20:30:24 # Node ID 400ffd5f2f14d9cf04f92b52aafb684f6b6e36c0 # Parent 5a3a916aad58d63e70ef141f53ade3f7c4855407 test-mq-qclone: test --mq option diff --git a/tests/test-mq-qclone-http b/tests/test-mq-qclone-http --- a/tests/test-mq-qclone-http +++ b/tests/test-mq-qclone-http @@ -75,3 +75,7 @@ hg qclone http://localhost:$HGPORT2/a d 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' diff --git a/tests/test-mq-qclone-http.out b/tests/test-mq-qclone-http.out --- a/tests/test-mq-qclone-http.out +++ b/tests/test-mq-qclone-http.out @@ -78,3 +78,8 @@ applying b.patch 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