hg status [ПАРАМЕТР]... [ФАЙЛ]...

псевдонимы: st

показать измененные файлы в рабочем каталоге

Show status of files in the repository. If names are given, only
files that match are shown. Files that are clean or ignored or
the source of a copy/move operation, are not listed unless
-c/--clean, -i/--ignored, -C/--copies or -A/--all are given.
Unless options described with "show only ..." are given, the
options -mardu are used.

Option -q/--quiet hides untracked (unknown and ignored) files
unless explicitly requested with -u/--unknown or -i/--ignored.

.. note::

   :hg:`status` may appear to disagree with diff if permissions have
   changed or a merge has occurred. The standard diff format does
   not report permission changes and diff only reports changes
   relative to one merge parent.

If one revision is given, it is used as the base revision.
If two revisions are given, the differences between them are
shown. The --change option can also be used as a shortcut to list
the changed files of a revision from its first parent.

The codes used to show the status of files are::

  M = modified
  A = added
  R = removed
  C = clean
  ! = missing (deleted by non-hg command, but still tracked)
  ? = not tracked
  I = ignored
    = origin of the previous file (with --copies)

.. container:: verbose

  The -t/--terse option abbreviates the output by showing only the directory
  name if all the files in it share the same status. The option takes an
  argument indicating the statuses to abbreviate: 'm' for 'modified', 'a'
  for 'added', 'r' for 'removed', 'd' for 'deleted', 'u' for 'unknown', 'i'
  for 'ignored' and 'c' for clean.

  It abbreviates only those statuses which are passed. Note that clean and
  ignored files are not displayed with '--terse ic' unless the -c/--clean
  and -i/--ignored options are also used.

  The -v/--verbose option shows information when the repository is in an
  unfinished merge, shelve, rebase state etc. You can have this behavior
  turned on by default by enabling the ``commands.status.verbose`` option.

  You can skip displaying some of these states by setting
  ``commands.status.skipstates`` to one or more of: 'bisect', 'graft',
  'histedit', 'merge', 'rebase', or 'unshelve'.

  Template:

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

  :path:    String. Repository-absolute path of the file.
  :source:  String. Repository-absolute path of the file originated from.
            Available if ``--copies`` is specified.
  :status:  String. Character denoting file's status.

  Examples:

  - show changes in the working directory relative to a
    changeset::

      hg status --rev 9353

  - show changes in the working directory relative to the
    current directory (see :hg:`help patterns` for more information)::

      hg status re:

  - show all changes including copies in an existing changeset::

      hg status --copies --change 9353

  - get a NUL separated list of added files, suitable for xargs::

      hg status -an0

  - show more information about the repository status, abbreviating
    added, removed, modified, deleted, and untracked paths::

      hg status -v -t mardu

Returns 0 on success.



options ([+] can be repeated):

 == ==================== ===============================================================
 -A --all                показать состояние всех файлов                                 
 -m --modified           показать только измененные файлы                               
 -a --added              показать только добавленные файлы                              
 -r --removed            показать только удалённые файлы                                
 -d --deleted            show only missing files                                        
 -c --clean              показать только неизмененные файлы                             
 -u --unknown            показать только неизвестные (не отслеживаемые) файлы           
 -i --ignored            показать только игнорируемые файлы                             
 -n --no-status          не показывать префикс состояния                                
 -t --terse ЗНАЧЕНИЕ     show the terse output (EXPERIMENTAL) (по умолчанию: nothing)   
 -C --copies             show source of copied files                                    
 -0 --print0             вставлять NUL после имен файлов, для использования с xargs     
    --rev РЕВИЗИЯ [+]    показать отличия от ревизии                                    
    --change РЕВИЗИЯ     показать измененные файлы с момента ревизии                    
 -I --include ШАБЛОН [+] добавить файлы, имена которых соответствуют данным шаблонам    
 -X --exclude ШАБЛОН [+] не добавлять файлы, имена которых соответствуют данным шаблонам
 -S --subrepos           рекурсивно обрабатывать подхранилища                           
 -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)
 == ====================== =======================================================================================================================