hg unshelve [OPTION]... [[-n] SHELVED]

восстановить отложенные изменения в рабочий каталог

This command accepts an optional name of a shelved change to
restore. If none is given, the most recent shelved change is used.

If a shelved change is applied successfully, the bundle that
contains the shelved changes is moved to a backup location
(.hg/shelve-backup).

Since you can restore a shelved change on top of an arbitrary
commit, it is possible that unshelving will result in a conflict
between your changes and the commits you are unshelving onto. If
this occurs, you must resolve the conflict, then use
``--continue`` to complete the unshelve operation. (The bundle
will not be moved until you successfully complete the unshelve.)

(Alternatively, you can use ``--abort`` to abandon an unshelve
that causes a conflict. This reverts the unshelved changes, and
leaves the bundle in place.)

If bare shelved change (without interactive, include and exclude
option) was done on newly created branch it would restore branch
information to the working directory.

After a successful unshelve, the shelved changes are stored in a
backup directory. Only the N most recent backups are kept. N
defaults to 10 but can be overridden using the ``shelve.maxbackups``
configuration option.

.. container:: verbose

   Timestamp in seconds is used to decide order of backups. More
   than ``maxbackups`` backups are kept, if same timestamp
   prevents from deciding exact order of them, for safety.

   Selected changes can be unshelved with ``--interactive`` flag.
   The working directory is updated with the selected changes, and
   only the unselected changes remain shelved.
   Note: The whole shelve is applied to working directory first before
   running interactively. So, this will bring up all the conflicts between
   working directory and the shelve, irrespective of which changes will be
   unshelved.


options:

 == =============== =================================================
 -a --abort         отменить незавершенное восстановление            
 -c --continue      продолжить незавершенное восстановление          
 -i --interactive   use interactive mode (EXPERIMENTAL)              
 -k --keep          сохранить комплект изменения после восстановления
 -n --name ИМЯ      restore shelved change with given name           
 -t --tool ЗНАЧЕНИЕ задать инструмент слияния                        
    --date ДАТА     установить дату для временных ревизий (УСТАРЕЛО) 
 == =============== =================================================

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