mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 17:27:53 +03:00
a95d4c0118
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
27 lines
601 B
Perl
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)
|
|
|