Mercurial > hg-stable
comparison tests/test-setdiscovery.t @ 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 | f77121b6bf1b |
children | aacfca6f9767 |
comparison
equal
deleted
inserted
replaced
37428:52bb6c1224ae | 37429:7d0a29f70bbe |
---|---|
510 $ hg -R r2 branch -q r2change && hg -R r2 ci -qmr2change | 510 $ hg -R r2 branch -q r2change && hg -R r2 ci -qmr2change |
511 $ hg -R r1 bundle -qa $TESTDIR/bundles/issue4438-r1.hg | 511 $ hg -R r1 bundle -qa $TESTDIR/bundles/issue4438-r1.hg |
512 $ hg -R r2 bundle -qa $TESTDIR/bundles/issue4438-r2.hg | 512 $ hg -R r2 bundle -qa $TESTDIR/bundles/issue4438-r2.hg |
513 #else | 513 #else |
514 use existing bundles: | 514 use existing bundles: |
515 $ hg clone -q $TESTDIR/bundles/issue4438-r1.hg r1 | 515 $ hg init r1 |
516 $ hg clone -q $TESTDIR/bundles/issue4438-r2.hg r2 | 516 $ hg -R r1 -q unbundle $TESTDIR/bundles/issue4438-r1.hg |
517 $ hg -R r1 -q up | |
518 $ hg init r2 | |
519 $ hg -R r2 -q unbundle $TESTDIR/bundles/issue4438-r2.hg | |
520 $ hg -R r2 -q up | |
517 #endif | 521 #endif |
518 | 522 |
519 Set iteration order could cause wrong and unstable results - fixed in 73cfaa348650: | 523 Set iteration order could cause wrong and unstable results - fixed in 73cfaa348650: |
520 | 524 |
521 $ hg -R r1 outgoing r2 -T'{rev} ' | 525 $ hg -R r1 outgoing r2 -T'{rev} ' |