# HG changeset patch # User Benoit Boissinot # Date 2008-09-10 15:55:49 # Node ID 5e9965407d5335abf3e59d44ce3095d3edec20bc # Parent 6b1ece890f9a67110a31c121fe3cbbc303053916 make test-mq-qdelete work reliably (issue1180) if after a and b has been applied, their hash starts with c, then the test would fail (because there would be a rev c which would be seen as "applied") so probability of failure would be 2*1/16. diff --git a/tests/test-mq-qdelete b/tests/test-mq-qdelete --- a/tests/test-mq-qdelete +++ b/tests/test-mq-qdelete @@ -9,9 +9,9 @@ cd a echo 'base' > base hg ci -Ambase -d '1 0' -hg qnew a -hg qnew b -hg qnew c +hg qnew -d '1 0' a +hg qnew -d '1 0' b +hg qnew -d '1 0' c hg qdel @@ -41,14 +41,14 @@ hg init b cd b echo 'base' > base -hg ci -Ambase +hg ci -Ambase -d '1 0' hg qfinish hg qfinish -a -hg qnew a -hg qnew b -hg qnew c +hg qnew -d '1 0' a +hg qnew -d '1 0' b +hg qnew c # XXX fails to apply by /usr/bin/patch if we put a date hg qfinish 0 hg qfinish b