sapling/tests/test-fb-hgext-remotefilelog-bundleloop.t
Jun Wu a95d4c0118 shallowbundle: fix parent dependency check during unbundling
Summary:
Apparently, the `continue` should apply to the `while` loop, not `for`.
This removes some random unnecessary SSH file fetches during unbundle.

Reviewed By: DurhamG

Differential Revision: D9174383

fbshipit-source-id: 9dad5c9e47d2d59fdc6421efd4bc303e791a6a9f
2018-08-06 23:05:28 -07:00

27 lines
601 B
Perl

$ setconfig remotefilelog.cachepath=$TESTTMP/cache extensions.remotefilelog=
$ newrepo
$ echo remotefilelog >> .hg/requires
$ drawdag <<'EOS'
> E # E/X=1 (renamed from Y)
> |
> D # D/Y=3 (renamed from X)
> |
> B # B/X=2
> |
> A # A/X=1
> EOS
$ hg bundle --all $TESTTMP/bundle --traceback -q
$ newrepo
$ echo remotefilelog >> .hg/requires
$ hg unbundle $TESTTMP/bundle
adding changesets
adding manifests
adding file changes
added 4 changesets with 8 changes to 6 files
new changesets 52f22a21f8db:bf8514b268e7
(run 'hg update' to get a working copy)