Mercurial > hg
comparison mercurial/help/config.txt @ 37414:2d965bfeb8f6
wireproto: allow direct stream processing for unbundle
Introduce a new option server.streamunbundle which starts a transaction
immediately to apply a bundle instead of writing it to a temporary file
first. This side steps the need for a large tmp directory at the cost of
preventing concurrent pushes. This is a reasonable trade-off for many
setups as concurrent pushes for the main branch at least are disallowed
anyway. The option defaults to off to preserve existing behavior.
Change the wireproto interface to provide a generator for reading the
payload and make callers responsible for consuming all data.
Differential Revision: https://phab.mercurial-scm.org/D2470
author | Joerg Sonnenberger <joerg@bec.de> |
---|---|
date | Tue, 27 Feb 2018 02:37:31 +0100 |
parents | 5890e5872f36 |
children | aacfca6f9767 |
comparison
equal
deleted
inserted
replaced
37413:33af46d639b4 | 37414:2d965bfeb8f6 |
---|---|
1789 When set, servers will refuse attempts to do pull-based clones. | 1789 When set, servers will refuse attempts to do pull-based clones. |
1790 If this option is set, ``preferuncompressed`` and/or clone bundles | 1790 If this option is set, ``preferuncompressed`` and/or clone bundles |
1791 are highly recommended. Partial clones will still be allowed. | 1791 are highly recommended. Partial clones will still be allowed. |
1792 (default: False) | 1792 (default: False) |
1793 | 1793 |
1794 ``streamunbundle`` | |
1795 When set, servers will apply data sent from the client directly, | |
1796 otherwise it will be written to a temporary file first. This option | |
1797 effectively prevents concurrent pushes. | |
1798 | |
1794 ``concurrent-push-mode`` | 1799 ``concurrent-push-mode`` |
1795 Level of allowed race condition between two pushing clients. | 1800 Level of allowed race condition between two pushing clients. |
1796 | 1801 |
1797 - 'strict': push is abort if another client touched the repository | 1802 - 'strict': push is abort if another client touched the repository |
1798 while the push was preparing. (default) | 1803 while the push was preparing. (default) |