mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
mononoke: fix test-gettreepack.t
Summary: New parameter depth was added. Mononoke just ignores, which if correct, but can be less efficient. However test-gettreepack.t was failing because it didn't supply the parameter. This diff fixes it by sending a big depth to the server P. S. Attached task tracks the support of depth parameter on Mononoke server-side Reviewed By: lukaspiatkowski Differential Revision: D8712906 fbshipit-source-id: 8246344b3fa39f00eb39f2262b4aa5aa74834be2
This commit is contained in:
parent
680c1b4fbd
commit
18d3345c71
@ -89,7 +89,8 @@ because everything has been already downloaded.
|
||||
> fallbackpath = treemanifestext.getfallbackpath(repo)
|
||||
> with repo.connectionpool.get(fallbackpath) as conn:
|
||||
> remote = conn.peer
|
||||
> bundle = remote.gettreepack('', [bin(mfnode) for mfnode in opts.get('mfnode')], [], [])
|
||||
> depth = 100
|
||||
> bundle = remote.gettreepack('', [bin(mfnode) for mfnode in opts.get('mfnode')], [], [], depth)
|
||||
> bundle2.processbundle(repo, bundle, None)
|
||||
> EOF
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user