Patchwork D3109: tests: use `hg unbundle` in test-setdiscovery.t

login
register
mail settings
Submitter phabricator
Date April 7, 2018, 1:21 a.m.
Message ID <84c364831337c3810e4ee01f22beb432@localhost.localdomain>
Download mbox | patch
Permalink /patch/30494/
State Not Applicable
Headers show

Comments

phabricator - April 7, 2018, 1:21 a.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG7d0a29f70bbe: tests: use `hg unbundle` in test-setdiscovery.t (authored by indygreg, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D3109?vs=7691&id=7835

REVISION DETAIL
  https://phab.mercurial-scm.org/D3109

AFFECTED FILES
  tests/test-setdiscovery.t

CHANGE DETAILS




To: indygreg, #hg-reviewers, durin42
Cc: mercurial-devel

Patch

diff --git a/tests/test-setdiscovery.t b/tests/test-setdiscovery.t
--- a/tests/test-setdiscovery.t
+++ b/tests/test-setdiscovery.t
@@ -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: