Mercurial > hg-stable
changeset 37429:7d0a29f70bbe
tests: use `hg unbundle` in test-setdiscovery.t
This is testing how discovery between 2 well-defined repos works,
not that `hg pull` works with bundles. Switch to `hg unbundle` so it
works in environments where bundlerepos aren't supported.
Differential Revision: https://phab.mercurial-scm.org/D3109
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Wed, 04 Apr 2018 16:47:06 -0700 |
parents | 52bb6c1224ae |
children | b4f5d8c68cfa |
files | tests/test-setdiscovery.t |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-setdiscovery.t Wed Apr 04 16:41:43 2018 -0700 +++ b/tests/test-setdiscovery.t Wed Apr 04 16:47:06 2018 -0700 @@ -512,8 +512,12 @@ $ hg -R r2 bundle -qa $TESTDIR/bundles/issue4438-r2.hg #else use existing bundles: - $ hg clone -q $TESTDIR/bundles/issue4438-r1.hg r1 - $ hg clone -q $TESTDIR/bundles/issue4438-r2.hg r2 + $ hg init r1 + $ hg -R r1 -q unbundle $TESTDIR/bundles/issue4438-r1.hg + $ hg -R r1 -q up + $ hg init r2 + $ hg -R r2 -q unbundle $TESTDIR/bundles/issue4438-r2.hg + $ hg -R r2 -q up #endif Set iteration order could cause wrong and unstable results - fixed in 73cfaa348650: