hg bundle [-f] [-t BUNDLESPEC] [-a] [-r REV]... [--base REV]... FILE [DEST]...
create a bundle file
Generate a bundle file containing data to be transferred to another repository.
To create a bundle containing all changesets, use -a/--all (or --base null). Otherwise, hg assumes the destination will have all the nodes you specify with --base parameters. Otherwise, hg will assume the repository has all the nodes in destination, or default-push/default if no destination is specified, where destination is the repositories you provide through DEST option.
You can change bundle format with the -t/--type option. See 'hg help bundlespec' for documentation on this format. By default, the most appropriate format is used and compression defaults to bzip2.
The bundle file can then be transferred using conventional means and applied to another repository with the unbundle or pull command. This is useful when direct push and pull are not available or when exporting an entire repository is undesirable.
Applying bundles preserves all changeset contents including permissions, copy/rename information, and revision history.
Returns 0 on success, 1 if no changes found.
options ([+] can be repeated):
| --exact | compute the base from the revision specified | |
| -f | --force | работать даже если хранилище не связано с хранилищем назначения |
| -r | --rev РЕВИЗИЯ [+] | набор изменений для добавления в хранилище назначения |
| -b | --branch ВЕТКА [+] | ветка для упаковки |
| --base РЕВИЗИЯ [+] | базовый набор изменений, который предполагается доступным в хранилище назначения | |
| -a | --all | упаковать все ревизии в хранилище |
| -t | --type ТИП | тип сжатия (по умолчанию: bzip2) |
| -e | --ssh КОМАНДА | используемая команда для ssh |
| --remotecmd КОМАНДА | команда Mercurial, которая будет запущена на отдалённом компьютере | |
| --insecure | не проверять сертификат сервера (игнорируя настройку web.cacerts) |
global options ([+] can be repeated):
| -R | --repository ХРАНИЛИЩЕ | корневой каталог хранилища или имя файла комплекта |
| --cwd КАТАЛОГ | сменить рабочий каталог | |
| -y | --noninteractive | не спрашивать, на все вопросы автоматически выбирать первый вариант |
| -q | --quiet | подавлять вывод |
| -v | --verbose | включить дополнительный вывод |
| --color ТИП | when to colorize (boolean, always, auto, never, or debug) | |
| --config КОНФИГ [+] | задать/переопределить параметр конфигурации (в виде 'секция.параметр=значение') | |
| --config-file HGRC [+] | load config file to set/override config options | |
| --debug | включить отладочный вывод | |
| --debugger | запустить отладчик | |
| --encoding КОДИРОВКА | установить кодировку (по умолчанию: UTF-8) | |
| --encodingmode РЕЖИМ | установить режим кодировки (по умолчанию: strict) | |
| --traceback | всегда печатать трассировку стека при исключении | |
| --time | время выполнения команды | |
| --profile | профилирование выполнения команды | |
| --version | напечатать информацию о версии и выйти | |
| -h | --help | показать справку и выйти |
| --hidden | учитывать скрытые наборы изменений | |
| --pager ТИП | когда использовать прокрутку (логический. always (всегда), auto(автоматически) или never (никогда) (по умолчанию: auto) |