hg branches [-c]

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

List the repository's named branches, indicating which ones are
inactive. If -c/--closed is specified, also list branches which have
been marked closed (see :hg:`commit --close-branch`).

Use the command :hg:`update` to switch to an existing branch.

.. container:: verbose

  Template:

  The following keywords are supported in addition to the common template
  keywords and functions such as ``{branch}``. See also
  :hg:`help templates`.

  :active:  Boolean. True if the branch is active.
  :closed:  Boolean. True if the branch is closed.
  :current: Boolean. True if it is the current branch.

Returns 0.


options ([+] can be repeated):

 == ================== ========================================================
 -a --active           show only branches that have unmerged heads (DEPRECATED)
 -c --closed           показывать обычные и закрытые ветки                     
 -r --rev ЗНАЧЕНИЕ [+] show branch name(s) of the given rev                    
 -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)
 == ====================== =======================================================================================================================