hg paths [ИМЯ]

показать псевдонимы отдалённых хранилищ

Show definition of symbolic path name NAME. If no name is given, show definition of all available names.

Option -q/--quiet suppresses all output when searching for NAME and shows only the path names when listing all definitions.

Path names are defined in the [paths] section of your configuration file and in "/etc/mercurial/hgrc". If run inside a repository, ".hg/hgrc" is used, too.

The path names "default" and "default-push" have a special meaning. When performing a push or pull operation, they are used as fallbacks if no location is specified on the command-line. When "default-push" is set, it will be used for push and "default" will be used for pull; otherwise "default" is used as the fallback for both. When cloning a repository, the clone source is written as "default" in ".hg/hgrc".

Примечание:

"default" and "default-push" apply to all inbound (e.g. 'hg incoming') and outbound (e.g. 'hg outgoing', 'hg email' and 'hg bundle') operations.

See 'hg help urls' for more information.

Template:

The following keywords are supported. See also 'hg help templates'.

name
String. Symbolic name of the path alias.
pushurl
String. URL for push operations.
url
String. URL or directory path for the other operations.

Returns 0 on success.

options:

-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)

mercurial