hg annotate [-r РЕВИЗИЯ] [-f] [-a] [-u] [-d] [-n] [-c] [-l] ФАЙЛ...
псевдонимы: blame
показать данные ревизии построчно для каждого файла
List changes in files, showing the revision id responsible for
each line.
This command is useful for discovering when a change was made and
by whom.
If you include --file, --user, or --date, the revision number is
suppressed unless you also include --number.
Without the -a/--text option, annotate will avoid processing files
it detects as binary. With -a, annotate will annotate the file
anyway, although the results will probably be neither useful
nor desirable.
.. container:: verbose
Use -L/--line-range FILE,M:N options to filter the output to the lines
from M to N in FILE. This option is incompatible with --no-follow and
cannot be combined with file pattern arguments. When combined with --rev
the line ranges refer to the state of the file at the requested revision.
.. container:: verbose
Template:
The following keywords are supported in addition to the common template
keywords and functions. See also :hg:`help templates`.
:lines: List of lines with annotation data.
:path: String. Repository-absolute path of the specified file.
And each entry of ``{lines}`` provides the following sub-keywords in
addition to ``{date}``, ``{node}``, ``{rev}``, ``{user}``, etc.
:line: String. Line content.
:lineno: Integer. Line number at that revision.
:path: String. Repository-absolute path of the file at that revision.
See :hg:`help templates.operators` for the list expansion syntax.
Returns 0 on success.
options ([+] can be repeated):
== =========================== ====================================================================
-r --rev РЕВИЗИЯ аннотировать указанную ревизию
--follow отслеживать копирования/переименования и писать имя файла (УСТАРЕЛО)
--no-follow не отслеживать копирования и перемещения
-a --text обрабатывать все файлы как текстовые
-u --user показывать имя автора (длинный формат с -v)
-f --file показывать имя файла
-d --date показывать дату (короткий формат с -q)
-n --number показывать номер ревизии (по умолчанию)
-c --changeset показывать набор изменений
-l --line-number показывать номер строки при первом появлении
--skip РЕВИЗИЯ [+] revset to not display (EXPERIMENTAL)
-L --line-range FILE,RANGE [+] follow line range of specified file (EXPERIMENTAL)
-w --ignore-all-space игнорировать пробельные символы при сравнении строк
-b --ignore-space-change игнорировать изменения в количестве пробельных символов
-B --ignore-blank-lines игнорировать изменения, состоящие только из пустых строк
-Z --ignore-space-at-eol ignore changes in whitespace at EOL
-I --include ШАБЛОН [+] добавить файлы, имена которых соответствуют данным шаблонам
-X --exclude ШАБЛОН [+] не добавлять файлы, имена которых соответствуют данным шаблонам
-T --template ШАБЛОН отображать с помощью шаблона
== =========================== ====================================================================
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)
== ====================== =======================================================================================================================