Mercurial > hg
comparison mercurial/configitems.py @ 40338:af62936c2508
streamclone: new server config and some API changes for narrow stream clones
This patch introduces a new server config
`experimental.server.stream-narrow-clones` which if set to True will advertise
that the server supports narrow stream clones.
This patch also pass on the includes and excludes from getbundle command to
streamclone generation code.
There is a test added to show that the includepats and excludepats are correctly
passed.
Upcoming patches will implement storage layer filtering for streamclones and
then we can remove the temporary error and plug in the whole logic together to
make narrow stream clones working.
Differential Revision: https://phab.mercurial-scm.org/D5137
author | Pulkit Goyal <pulkit@yandex-team.ru> |
---|---|
date | Wed, 26 Sep 2018 17:20:04 +0300 |
parents | 682f73fa924a |
children | db0dba2d157d |
comparison
equal
deleted
inserted
replaced
40337:cb516a854bc7 | 40338:af62936c2508 |
---|---|
608 default=50000, | 608 default=50000, |
609 ) | 609 ) |
610 coreconfigitem('experimental', 'server.manifestdata.recommended-batch-size', | 610 coreconfigitem('experimental', 'server.manifestdata.recommended-batch-size', |
611 default=100000, | 611 default=100000, |
612 ) | 612 ) |
613 coreconfigitem('experimental.server', 'stream-narrow-clones', | |
614 default=False, | |
615 ) | |
613 coreconfigitem('experimental', 'single-head-per-branch', | 616 coreconfigitem('experimental', 'single-head-per-branch', |
614 default=False, | 617 default=False, |
615 ) | 618 ) |
616 coreconfigitem('experimental', 'sshserver.support-v2', | 619 coreconfigitem('experimental', 'sshserver.support-v2', |
617 default=False, | 620 default=False, |