hg rename [ПАРАМЕТР]... ИСТОЧНИК... НАЗНАЧЕНИЕ
псевдонимы: move, mv
переименовать файлы; эквивалентно copy + remove
Mark dest as copies of sources; mark sources for deletion. If dest
is a directory, copies are put in that directory. If dest is a
file, there can only be one source.
By default, this command copies the contents of files as they
exist in the working directory. If invoked with -A/--after, the
operation is recorded, but no copying is performed.
To undo marking a destination file as renamed, use --forget. With that
option, all given (positional) arguments are unmarked as renames. The
destination file(s) will be left in place (still tracked). The source
file(s) will not be restored. Note that :hg:`rename --forget` behaves
the same way as :hg:`copy --forget`.
This command takes effect with the next commit by default.
Returns 0 on success, 1 if errors are encountered.
options ([+] can be repeated):
== ==================== ===============================================================
--forget unmark a destination file as renamed
-A --after записать переименование, которое уже было сделано
--at-rev РЕВИЗИЯ (un)mark renames in the given revision (EXPERIMENTAL)
-f --force forcibly move over an existing managed file
-I --include ШАБЛОН [+] добавить файлы, имена которых соответствуют данным шаблонам
-X --exclude ШАБЛОН [+] не добавлять файлы, имена которых соответствуют данным шаблонам
-n --dry-run ничего реально не делать, просто напечатать вывод
== ==================== ===============================================================
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)
== ====================== =======================================================================================================================