comparison mercurial/help/config.txt @ 27737:482eb357fe98

exchange: make clonebundleprefers non-experimental In preparation for making the feature enabled by default.
author Gregory Szorc <gregory.szorc@gmail.com>
date Fri, 08 Jan 2016 10:57:01 -0800
parents 76fc5ac23473
children a0e783d26e81
comparison
equal deleted inserted replaced
27736:7644d3aeedec 27737:482eb357fe98
1500 clients don't overwhelm the server when "clone bundle" application 1500 clients don't overwhelm the server when "clone bundle" application
1501 fails. 1501 fails.
1502 1502
1503 (default: False) 1503 (default: False)
1504 1504
1505 ``clonebundleprefers``
1506 Defines preferences for which "clone bundles" to use.
1507
1508 Servers advertising "clone bundles" may advertise multiple available
1509 bundles. Each bundle may have different attributes, such as the bundle
1510 type and compression format. This option is used to prefer a particular
1511 bundle over another.
1512
1513 The following keys are defined by Mercurial:
1514
1515 BUNDLESPEC
1516 A bundle type specifier. These are strings passed to :hg:`bundle -t`.
1517 e.g. ``gzip-v2`` or ``bzip2-v1``.
1518
1519 COMPRESSION
1520 The compression format of the bundle. e.g. ``gzip`` and ``bzip2``.
1521
1522 Server operators may define custom keys.
1523
1524 Example values: ``COMPRESSION=bzip2``,
1525 ``BUNDLESPEC=gzip-v2, COMPRESSION=gzip``.
1526
1527 By default, the first bundle advertised by the server is used.
1528
1505 ``commitsubrepos`` 1529 ``commitsubrepos``
1506 Whether to commit modified subrepositories when committing the 1530 Whether to commit modified subrepositories when committing the
1507 parent repository. If False and one subrepository has uncommitted 1531 parent repository. If False and one subrepository has uncommitted
1508 changes, abort the commit. 1532 changes, abort the commit.
1509 (default: False) 1533 (default: False)