hg shelve [ПАРАМЕТР]... [ФАЙЛ]...
сохранить и отложить изменения из рабочего каталога
Shelving takes files that "hg status" reports as not clean, saves
the modifications to a bundle (a shelved change), and reverts the
files so that their state in the working directory becomes clean.
To restore these changes to the working directory, using "hg
unshelve"; this will work even if you switch to a different
commit.
When no files are specified, "hg shelve" saves all not-clean
files. If specific files or directories are named, only changes to
those files are shelved.
In bare shelve (when no files are specified, without interactive,
include and exclude option), shelving remembers information if the
working directory was on newly created branch, in other words working
directory was on different branch than its first parent. In this
situation unshelving restores branch information to the working directory.
Each shelved change has a name that makes it easier to find later.
The name of a shelved change defaults to being based on the active
bookmark, or if there is no active bookmark, the current named
branch. To specify a different name, use ``--name``.
To see a list of existing shelved changes, use the ``--list``
option. For each shelved change, this will print its name, age,
and description; use ``--patch`` or ``--stat`` for more details.
To delete specific shelved changes, use ``--delete``. To delete
all shelved changes, use ``--cleanup``.
options ([+] can be repeated):
== ==================== ===========================================================================================================
-A --addremove пометить новые/недостающие файлы как добавленные/удаленные перед откладыванием
-u --unknown store unknown files in the shelve
--cleanup удалить все отложенные изменения
--date ДАТА отложить с указанной датой фиксации
-d --delete удалить указанные отложенные изменения
-e --edit вызвать редактор для создания сообщения фиксации
-k --keep shelve, but keep changes in the working directory
-l --list список отложенных изменений
-m --message ТЕКСТ текст сообщения отложенного изменения
-n --name ИМЯ использовать указанное имя для отложенной ревизии
-p --patch output patches for changes (provide the names of the shelved changes as positional arguments)
-i --interactive interactive mode
--stat output diffstat-style summary of changes (provide the names of the shelved changes as positional arguments)
-I --include ШАБЛОН [+] добавить файлы, имена которых соответствуют данным шаблонам
-X --exclude ШАБЛОН [+] не добавлять файлы, имена которых соответствуют данным шаблонам
== ==================== ===========================================================================================================
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)
== ====================== =======================================================================================================================