hg push [-f] [-r REV]... [-e CMD] [--remotecmd CMD] [DEST]...

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

Push changesets from the local repository to the specified
destination.

This operation is symmetrical to pull: it is identical to a pull
in the destination repository from the current one.

By default, push will not allow creation of new heads at the
destination, since multiple heads would make it unclear which head
to use. In this situation, it is recommended to pull and merge
before pushing.

Use --new-branch if you want to allow push to create a new named
branch that is not present at the destination. This allows you to
only create a new branch without forcing other changes.

.. note::

   Extra care should be taken with the -f/--force option,
   which will push all new heads on all branches, an action which will
   almost always cause confusion for collaborators.

If -r/--rev is used, the specified revision and all its ancestors
will be pushed to the remote repository.

If -B/--bookmark is used, the specified bookmarked revision, its
ancestors, and the bookmark will be pushed to the remote
repository. Specifying ``.`` is equivalent to specifying the active
bookmark's name. Use the --all-bookmarks option for pushing all
current bookmarks.

Please see :hg:`help urls` for important details about ``ssh://``
URLs. If DESTINATION is omitted, a default path will be used.

When passed multiple destinations, push will process them one after the
other, but stop should an error occur.

.. container:: verbose

    The --pushvars option sends strings to the server that become
    environment variables prepended with ``HG_USERVAR_``. For example,
    ``--pushvars ENABLE_FEATURE=true``, provides the server side hooks with
    ``HG_USERVAR_ENABLE_FEATURE=true`` as part of their environment.

    pushvars can provide for user-overridable hooks as well as set debug
    levels. One example is having a hook that blocks commits containing
    conflict markers, but enables the user to override the hook if the file
    is using conflict markers for testing purposes or the file format has
    strings that look like conflict markers.

    By default, servers will ignore `--pushvars`. To enable it add the
    following to your configuration file::

        [push]
        pushvars.server = true

Returns 0 if push was successful, 1 if nothing to push.


options ([+] can be repeated):

 == ======================= ======================================================================
 -f --force                 протолкнуть принудительно                                             
 -r --rev РЕВИЗИЯ [+]       набор изменений, предназначенный для добавления в хранилище назначения
 -B --bookmark ЗАКЛАДКА [+] протолкнуть закладку                                                  
    --all-bookmarks         push all bookmarks (EXPERIMENTAL)                                     
 -b --branch ВЕТКА [+]      одна ветка, которую вы хотите втолкнуть                               
    --new-branch            разрешить создать новую ветку в отдалённом хранилище                  
    --pushvars ЗНАЧЕНИЕ [+] variables that can be sent to server (ADVANCED)                       
    --publish               push the changeset as public (EXPERIMENTAL)                           
 -e --ssh КОМАНДА           используемая команда для ssh                                          
    --remotecmd КОМАНДА     команда Mercurial, которая будет запущена на отдалённом компьютере    
    --insecure              не проверять сертификат сервера (игнорируя настройку web.cacerts)     
 == ======================= ======================================================================

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