403Webshell
Server IP : 74.208.236.52  /  Your IP : 216.73.217.98
Web Server : Apache
System : Linux infong527 4.4.400-icpu-115 #2 SMP Mon Jul 6 08:15:05 UTC 2026 x86_64
User : u44043973 ( 5404757)
PHP Version : 8.4.24
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/mercurial/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/mercurial/__pycache__/commands.cpython-313.pyc
�

6�h?���:�SSKJr SSKrSSKrSSKrSSKJr SSKJrJ	r	J
r
JrJr SSK
JrJrJrJrJrJrJrJrJrJrJrJrJrJrJrJ r J!r!J"r"J#r#J$r$J%r&J'r'J(r(J)r)J*r*J+r,J-r.J/r/J0r0J1r1J2r2J3r3J4r4J5r5J6r6J7r7J8r8J9r9J:r;J<r=J>r?J@r@JArBJCrC SSKDJErF SSKGJHrI SS	KJJKrKJLrLJMrMJNrN 0rO\OR�\R�R�5 \OR�\R�R�5 \5R�"\O5rH\5R�rRS
SS\"S
5\"S54SSS\"S5\"S54SSS\"S54SSS\"S54SSS\"S54SSS\"S5\"S54SS/\"S5\"S 54SS!/\"S"5\"S#54SS$S\"S%54SS&S\"S'54SS(\R<\"S)5\"S*54SS+\R�\"S,5\"S-54SS.S\"S/54SS0S\"S154SS2S\"S354SS4S\"S554S6S7S\"S854SS9S:\"S;54SS<S=\"S>5\"S54/rT\R�rU\R�rV\R�rW\R�rX\R�rY\R�rZ\R�r[\R�r\\R�r]\R�r^\R�r_\R�r`\R�ra\R�rb\R�rc\R�rd\H"S?\U\HR�S@SA9SB5rf\H"SC\W\c-\U-\"SD5\HR�S@S@SE9SF5rh\H"SG\b\c-\W-\U-\"SD5\HR�S@SH9SI5ri\H"SJSKSLS\"SM5\"SN54SSOS\"SP54SSQS\"SR54SSSTS\"SU54SVSWS\"SX54SYSZS\"S[54S\S]S\"S^54S_S`S\"Sa54SbScS\"Sd54SeSfS\"Sg54SSh/\"Si5\"SN54SjSk/\"Sl5\"Sm54/\_-\W-\[-\"Sn5\HR�S@S@SE9So5rk\H"SpSSqS\"Sr54SsStS\"Su5\"Sv54SKSLS\"Sw5\"SN54SxSyS\"Sz5\"S54/\c-\W-\"S{5\HR�S|9S}5rm\H"S~SSS\"S�54SS�S\"S�54SS�S\"S�54SS�S\"S�5\"SN54SKSLS\"S�5\"SN54S�S�S:\"S�54/\a-\W-\X-\Y-\"S�5\HR�S|9GS�S�j5rnGS�S�jro\H"S�SKS�S:\"S�54S�S�S:\"S�54S�S�S:\"S�54S�ShS:\"S�54S�S�S:\"S�54SbS�S\"S�5\"S�54S�S�S:\"S�54/\"S�5\HR�S|9GS�S�j5rq\H"S�SYS�S:\"S�54SKSLS\"S�5\"SN54S\S�S:\"S�54S�S�S\"S�5\"S�54S�S�S:\"S�54SeS�S:\"S�54/\[-\"S�5\HR�S|9S�5rs\H"S�SYS�S\"S�54S�S�S\"S�54SKSL/\"S�54/\"S�5\HR�S|9GS�S�j5rt\H"S�SSS�S:\"S�54SbS�S:\"S�54SKSL/\"S�54/\[-\"S�5\HR�\R1S�9GS�S�j5ru\H"S�SS�S\"S�54SYS�S\"S�54SKSL/\"S�5\"SN54S�S�/\"S�5\"S�54SS�/\"S�5\"SN54SSS�S\"S�54SxSyS�\"S�5\"S54/\V-\"S�5\HR�S|9S�5rv\H"S�S�S�S\"S�5\"S�54SKSLS\"S�5\"SN54SS�S\"S�54/\W-\[-\"S�5\HR�S@\R1S�9S�5rw\H"S�S�S�S\"S�54SVS�S\"S�5\"SN54SKSL/\"S�5\"SN54S�S�/\"S�5\"S�54SS�S\"S�54SS�S\"S�54SS�S\"S�54/\V-\"S�5\HR�S@S@S�9GS�S�j5ry\H"S�S�SGS\"S�54SS�S\"S�54SS�S\"S�54S�S�S\"S�54SS�S\"S�54S�S�S\"S�54SS�S\"S�54S�S�S\"S�54/\W-\X-\Y-\c-\"SD5\HR�S@S@SE9S�5r{S�r|\H"S�SVS�S\"GS54SGSS\"GS54S�S�S\"GS54SeGSS\"GS54SGSS\"GS54SGSS\"GS	54SGS
S\"GS54S�GSS\"GS
54/\[-\"GS5\HR�S@\R1GS9GS5r~\H"GS\U\HR�S@SA9GS5r\H"GSSGSS\"GS54S�GSS\"GS54SGSS\"GS5\"SN54SYS�S\"GS54/\W-\U-\"GS5\HR�S|9GS5r�\H"GS/\"GS5\HR�S@GS9GS�GS j5r\H"GS!S�GS"S\"GS#54/\"GS$5\HR�S@GS9GS�GS%j5r�\H"GS&SKSL/\"GS'5\"SN54SGS(S\"GS)5\"GS*54SGS+S\"GS,5\"GS-54SbGS.S\"GS/5\"SN54SGS0S:\"GS154/\^-\`-\W-\c-\"GS25\HR�S@S@\R1GS39GS45r�\H"GS5GS6GS7S\"GS85\"GS954S�S�S\"S�5\"S�54SGS:S\"GS;54SKSL/\"GS<5\"SN54/\^-\[-\"GS=5\HR�S@\R1GS>9GS?5r�\H"GS@SKSLS\"GSA5\"SN54GSBGSCS\"GSD54/\W-\[-\c-\"SD5\HR�\R1S�9GSE5r�\H"GSS�S�S\"S�54/\W-\U-\"S�5\HR�S@S@SE9GSF5r�\H"GSGSKSL/\"GSH5\"SN54SS�S\"GSI5\"SN54SGS+S\"GSJ54SbGSS:\"GSK54SGSLS:\"GSM54SS?S:\"GSN54S�S�S:\"S�54SGSOS\"GSP54SS�S\"GSQ54SYS�S:\"GSR54GSSGSTS:\"GSU54S�GSVS:\"GSW54/\Y-\a-\U-\"GSX5\HR�S|9GSY5rE\=GR"GSGGSZS@S@S@\GR\"GS[5GS\9 \H"GS]GSBGSCS\"GS^54SS�S\"GS_54SGS&S\"GS`54SSSTS\"SU54SYSOS\"GSa54S�GSbS\"GSc54SeGSdS\"GSe54S_SfS\"GSf54SKSL/\"GSg5\"SN54SGShS\"GSi54SVSWS\"SX54S\S]S\"S^54/\[-\W-\"GSj5\HR�S@\R1S�9GSk5r%\H"GSlSKSLS\"GSm5\"GSn54SxGSoS:\"GSp54SSS�S:\"GSq54SbS�S:\"GSr54/\\-\"GSs5\HR�\R1S�9GSt5r�\H"S7S�GSuS\"GSv54SbS�S\"GSw54GSxGSyS\"GSz54S�GS{/\"GS|5\"GS}54/\"GS~5\HR�S@\R1GS9GS�GS�j5r�\H"GS�SKSLS\"GS�5\"SN54S_GS�S\"GS�54S�GS�S\"GS�54S�S�S\"GS�54SxGS�S\"GS�54GS6GS�S\"GS�54/\V-\[-\"GS�5\HR�S@\R1GS9GS�GS�j5r�\H"GS�SsGS�S\"GS�5\"GS�54S�S�S\"GS�5\"GS�54SS�S\"S�54S�S�S:\"S�54SYS�S\"GS�54SS�S\"GS�54SGS�S\"GS�54SGS�S\"GS�54SS�S\"GS�54SStS\"GS�5\"S54SGS�S\"GS�54/\X-\Y-\b-\"GS�5\HR�S|9GS�GS�j5r�\H"GS�SYS�S\"GS�54S_GS�S\"GS�54SS�S\"GS�5\"GS�54SKSL/\"GS�5\"SN54GS6GS�S:\"GS�54S�S�/\"GS�5\"S�54/\]-\V-\c-\"GS�5\HGRS|9GS�GS�j5r�\H"GS�\V\"GS�5\HR�S@S@S�9GS�GS�j5r�\H"GS�SKSLS\"GSA5\"SN54GSBGSCS\"GSD54SYGS�S\"GS�54/\W-\"GS�5\HR�S|9GS�5r�\H"GS�SYSOS\"GSa54SGS�S\"GS�54S\S]S\"GS�5\"GS�54S�GS�S\"GS�54GSxGSy/\"GS�5\"GS�54SKSL/\"GS�5\"SN54SjSk/\"Sl5\"Sm54SGS�S\"GS�54S�GS�S\"GS�54SVSW/\"GS�5\"GS�54SGS�/\"GS�5\"S�54S�S�/\"GS�5\"S�54GS6GS7/\"GS�5\"GS954GS�GS�/\"GS�5\"SN54/\]-\W-\"GS�5\HR�S@S@\R1GS39GS�5r�\H"GS�SKSLS\"GS�5\"SN54SS�S:\"GS�54/\[-\"GS�5\HGR"\R1S�9GS�GS�j5r�\H"SSYS�S\"GS�54SKSLS\"GS�5\"SN54GS�GS�S\"GS�54SS?S\"GS�54/\a-\"GS�5\HR�S@SA9GS�GS�j5r+\=GR"SSS@S@\"GS�5\)GR&\"GS�5\"GS�5GS�9 \H"GS�SYS�S\"S�54SKSL/\"GS�5\"SN54S_GS�S\"GS�54GS6GS�S:\"GS�54S�S�/\"GS�5\"S�54/\]-\V-\c-\"GS�5\HGRS|9GS�5r�\H"GS�SKSLS\"GS�5\"SN54/\\-\"GS�5\HR�S@SH9GS�GS�j5r�\H"GS�\[\"GS�5\HGRS@\R1GS9GS�GS�j5r�\H"GS�SsGS�S:\"GS�54S\S�S:\"GS�54S�S�S:\"GS�54SYS�S:\"GS�54SKSL/\"GS�5\"SN54/\"GS�5\HR�S|9GS�5r�\H"S�SVGS�S\"GS�54SYS�S\"GS�54SGS�S\"GS�54SKSL/\"GS�5\"SN54GS6GS7/\"GS�5\"GS954S�S�/\"GS�5\"S�54SGS�S:\"GS�54/\V-\"GS�5\HGRS@SA9GS�5r�\H"GS�SSGS�S\"GS�54SS�S\"GS�54S�GS�S\"GS54SGSS\"GS54SGS@S\"GS54SsGSS\"GS54GSBGSCS\"GS54SGS�S\"GS54/\R�-\"GS5\HR�S|9GS	5r�\H"GS
SYS�S\"GS54SKSL/\"GS�5\"SN54GS6GS7/\"GS5\"GS954SGS
S\"GS54S�S�/\"GS�5\"S�54SGSS:\"GS54SGS/\"GS54SGSS:\"GS54/\V-\"GS5\HGRS@SA9GS5r�\H"GSGS/\HGR"S|9GS5r�\H"GSS�GSS\"GS54SYS�S\"GS54/\c-\W-\U-\"S�5\HR�S@S@SE9GS5r�\H"GSSGSS\"GS54S�GSS\"GS 54SGSS\"GS!5\"SN54SYS�S\"GS"54/\W-\U-\"GS#5\HR�S|9GS$5r�\H"GS%SSS�S\"GS&54SeS�S\"GS'54S�GS(S\"GS)54SVGS*S\"GS+54S_GS,S\"GS-54SGS.S\"GS/54/\a-\W-\[-\"SD5\HR�S@SH9GS05r�\H"GS1SSS�S\"GS254S\S]S\"GS35\"GS�54SKSLS\"GS45\"SN54S�GS5S\"GS654S�S�S\"GS754/\W-\U-\"GS85\HR�S|9GS95r�\H"GS:\USYS�S:\"GS;54/-\HGR"S|9GS<5r�\H"GS=/\[-\R1\HR�GS>9GS?5r�\H"GS@S�GSAS\"GSB5\"GS�54S\GSCS\"GSD54SGSE/\"GSF54GSGGSHS\"GSI5\"GS�54SsGSJS\"GSK5\"GSL54SSGSMS\"GSN5\"GSO54SStS\"GSP5\"Sv54S_GSQS\"GSR5\"GSS54SGSTS\"GSU5\"GS�54SGSVS\"GSW5\"GS�54SGSXS\"GSY5\"GS�54SGSZS\"GS[54SGS\S\"GS[5\"S-54SxGS]S\"GS^5\"GS_54SGS`S\"GSa5\"GSb54GScGSdS\"GSe54SGSfS\"GSg5\"GS�54SGShS\"GSi54/\c-\"GSj5\HGRS@S@GSk9GSl5r�\H"GSmS�SGS\"GSn54SVGSoS\"GSp54SGSqS\"GSr54SS]S\"GSs5\"GS�54S\S�S\"GSt54S�S�S:\"S�54GSxGSuS:\"GSv54SeS�S\"GSw54S�GSxS\"GSy5\"GS�54S_GSQS\"GSz5\"GSS54SsGS{S\"GS|54S�S�S\"GS}54SGS~S\"GS54/
\R�-\"GS�5\HR�S|9GS�5r:GS�r�\H"GS�S�S�S\"GS�54S�GS�S\"GS�54SSGS�S\"GS�54SKGS�S\"GS�54S\GS�S\"GS�54SbS�S\"GS�54SVGSoS\"GS�54S�GS�S\"GS�54S_GS,S\"GS-54SxGS�\�\"GS�54S�GS�S\"GS�54GSBGSCS\"GSD54SSL/\"GS�5\"SN54SGS.S\"GS�5\"SN54/\W-\c-\[-\"SD5\HR�S@S@\R1GS39GS�5r�\H"GS�SGS�S\"GS�54/GS�\HR�S@\R1GS>9GS�5r�\H"GS�SYS�S\"GS�54SeGSS\"GS�54SKSLS\"GS�5\"SN54SGS�S\"GS�54S�S�S\"S�54S�GSxS\"GS�5\"GS�54/\Y-\"GS�5\HR�S|9GS�5r�\H"GS�\[S\HR�\R1S�9GS�5r>\H"GS�SsGS{S\"GS�54S�GS�S\"GS�54/\\-\"GS�5\HR�S|9GS�5r�\H"GS�SVGS�S\"GS�54/\"GS�5\HR�S|9GS�5r�\H"GS�SSS?S\"GS�54SbGSS\"GS�54S�S�S\"GS�54GSxGSuS\"GS�54S_GSQS\"GS�5\"GSS54SxGS�S\"GS�54SS]S\"GS�5\"GS�54/\"GS�5\HR�S|9GS�5r�\=GR"GS�GS�S@\;GRT\;GRV\"GS�5GS�9 \H"GS�S�S�S\"GS�54SbGS�S\"GS�54S�SS\"GS�54S\S]S\"GS35\"GS�54SKSLS\"GS�5\"SN54/\a-\"GS�5\HR�S@SA9GS�GS�j5rP\H"GS�GS�/\HGR"S|9GS�5rA\H"S4/\[-\HR�S@\R1GS9GS�5r�GS�r�g(��)�annotationsN�)�_)�hex�nullid�nullrev�short�wdirrev),�admin_commands�archival�	bookmarks�bundle2�bundlecaches�changegroup�cmdutil�context�copies�
debugcommands�destutil�diffutil�	discovery�encoding�error�exchange�
extensions�	filemerge�	formatter�graphmod�grep�hbisect�help�hg�
logcmdutil�merge�
mergestate�
narrowspec�obsolete�obsutil�patch�phases�pycompat�	registrar�
revsetlang�rewriteutil�scmutil�server�shelve�state�tags�util�verify�wireprotoserver)�graft)�command)�dateutil�procutil�
stringutil�urlutil�Rs
repository�s8repository root directory or name of overlay bundle filesREPOscwdschange working directorysDIR�ysnoninteractivesBdo not prompt, automatically pick the first choice for all prompts�qsquietssuppress output�v�verbosesenable additional outputscolors9when to colorize (boolean, always, auto, never, or debug)sTYPE�configs5set/override config option (use 'section.name=value')sCONFIGsconfig-files/load config file to set/override config optionssHGRCsdebugsenable debugging outputsdebuggersstart debuggersencodingsset the charset encodingsENCODEsencodingmodesset the charset encoding modesMODEs	tracebacks%always print a traceback on exceptionstimestime how long the command takessprofilesprint command execution profile�versions#output version information and exit�h�helpsdisplay help and exitshiddenFsconsider hidden changesetsspagersautos2when to paginate (boolean, always, auto, or never)�abortT)�helpcategory�	helpbasicc��URS5n[R"U5nU(d[R"[S55eUR(d9[R"[S5UR-UR5S9eU(a(UR[S5UR-5 gUR
X5$)z�abort an unfinished operation (EXPERIMENTAL)

Aborts a multistep operation like graft, histedit, rebase, merge,
and unshelve if they are in an unfinished state.

use --dry-run/-n to dry run the command.
�dry_run�no operation in progresss.%s in progress but does not support 'hg abort'��hints %s in progress, will be aborted
N)�getr�getunfinishedstater�
StateErrorr�	abortfunc�
InputError�_opnamerN�status)�ui�repo�opts�dryrun�
abortstates     �4/usr/lib/python3/dist-packages/mercurial/commands.py�abortr\�s����X�X�i�
 �F��+�+�D�1�J�����q�!<�=�>�>��������C�D��%�%�'����"�
�	
��
�	�	�
�2�3�z�7I�7I�J�	
�	�����)�)r>sadds[OPTION]... [FILE]...)rHrI�	inferrepoc
��UR5 URRU5 [R"USU[
R"U55n[R"USS9n[R"XUSUS40UD6nU=(a S=(d SsSSS5 sSSS5 $!,(df   O=fSSS5 g!,(df   g=f)aPadd the specified files on the next commit

Schedule files to be version controlled and added to the
repository.

The files will be added to the repository at the next commit. To
undo an add before that, see :hg:`forget`.

If no names are given, add all files to the repository (except
files matching ``.hgignore``).

.. container:: verbose

   Examples:

     - New (unknown) files are added
       automatically by :hg:`add`::

         $ ls
         foo.c
         $ hg status
         ? foo.c
         $ hg add
         adding foo.c
         $ hg status
         A foo.c

     - Specific files to be added can be specified::

         $ ls
         bar.c  foo.c
         $ hg status
         ? bar.c
         ? foo.c
         $ hg add bar.c
         $ hg status
         A bar.c
         ? foo.c

Returns 0 if all files are successfully added.
NT��legacyrelativevaluer>Frr)
�wlock�dirstate�changing_filesr/�matchr+�byteskwargs�getuipathfnr�add)rVrW�patsrX�m�uipathfn�rejecteds       r[rgrg�s���f
����t�}�}�3�3�D�9��M�M�$�t�*�d�H�,@�,@��,F�G���&�&�t��F���;�;�r��C��5�I�D�I���~�A�"��	:�9���9�9�����s#�C
�A3B3� 	C
�3
C	�=C
�
C�	addremove)rHr]c	���[R"U5nURS5(dSUS'UR5 URRU5 [R"USX#5n[R"X#5n[R"XS9n[R"XSXc5sSSS5 sSSS5 $!,(df   O=fSSS5 g!,(df   g=f)a�add all new files, delete all missing files

Add all new files and remove all missing files from the
repository.

Unless names are given, new files are ignored if they match any of
the patterns in ``.hgignore``. As with add, these changes take
effect at the next commit.

Use the -s/--similarity option to detect renamed files. This
option takes a percentage between 0 (disabled) and 100 (files must
be identical) as its parameter. With a parameter greater than 0,
this compares every removed file with every added file and records
those similar enough as renames. Detecting renamed files this way
can be expensive. After using this option, :hg:`status -C` can be
used to check which files were identified as moved or renamed. If
not specified, -s/--similarity defaults to 100 and only renames of
identical files are detected.

.. container:: verbose

   Examples:

     - A number of files (bar.c and foo.c) are new,
       while foobar.c has been removed (without using :hg:`remove`)
       from the repository::

         $ ls
         bar.c foo.c
         $ hg status
         ! foobar.c
         ? bar.c
         ? foo.c
         $ hg addremove
         adding bar.c
         adding foo.c
         removing foobar.c
         $ hg status
         A bar.c
         A foo.c
         R foobar.c

     - A file foobar.c was moved to foo.c without using :hg:`rename`.
       Afterwards, it was edited slightly::

         $ ls
         foo.c
         $ hg status
         ! foobar.c
         ? foo.c
         $ hg addremove --similarity 90
         removing foobar.c
         adding foo.c
         recording removal of foobar.c as rename to foo.c (94% similar)
         $ hg status -C
         A foo.c
           foobar.c
         R foobar.c

Returns 0 if all files are successfully added.
s
similaritys100Nr_r>)r+rerOrarbrcr/rd�anypatsrf�	addremove)rVrWrhrX�matcher�relativerjs       r[roros���J����%�D��8�8�M�"�"�$��]��	
����t�}�}�3�3�D�9��-�-��T�
�D�7���?�?�4�.���&�&�t�J��� � ���X�D�	:�9���9�9�����s%�C'�AC
�:	C'�
C	�C'�'
C5sannotate|blame�r�revsannotate the specified revisionsREV�follows8follow copies/renames and list the filename (DEPRECATED)s	no-followsdon't follow copies and renames�a�textstreat all files as text�u�userslist the author (long with -v)�f�fileslist the filename�d�dateslist the date (short with -q)�n�numbers"list the revision number (default)�c�	changesetslist the changeset�lsline-numbers(show line number at the first appearance�skips$revset to not display (EXPERIMENTAL)�Ls
line-ranges2follow line range of specified file (EXPERIMENTAL)s
FILE,RANGEs3[-r REV] [-f] [-a] [-u] [-d] [-n] [-c] [-l] FILE...c�^^^.^/^0^1�[R"T5mTRS5nU(a5TRS5(a[R"[S55eU(a&U(a[R"[S55eU(d&U(d[R"[S55eTRS5(aSTS'TRS	5(dGTRS
5(d1TRS5(dTRS5(dSTS'TRS
5SLnU(aKTRS
5(d5TRS5(d[R"[S55eTRS5nU(a[R"TU/S5m[R"TU5m.U(d+[R"TT5VVs/sHupxUPM	 nnnURS5 URST5n	UR(a[Rm1OSm1UR(a[ R"n
O[ R$n
T.R'5c,TRS
5(aU.4SjnOU.4SjnU.UU14SjnOSR(nT1nS	SSUR*4SSSU4SSSU4SSS[,R."U
54SSS[R04S S!S"[R04/n
SS
SS
S#.m0U	R35(aS$nOS%nU	R55m/U
VVVVs/sH@unnnnTRT0RX�55(dUT/;dM5U"UU5U4PMB nnnnnUS&S&S'4US&'SR7U/U0U4S(jU
55nS)n[R8"T.UTUS*9nTRS5(+n[:R<"UTSSS+9nTRS,5nU(a[R>"TU5n[R@"TSS-9nT.RCU5GH�nT.UnU	RE5 U	RGUS.9 TRS/5(d:URI5(a%U	RK[S05U"U5-5 MxU	RMS1S2S39nUROUUUS49nU(a\[Q[R"TT55S&unun n![SU5V"V#s/sHun"n#U U"s=::aU!:dMO MU#PM nn"n#U(dURU5 GM/n$/n%UH�un&nUV's/sHn'U&"U'5PM
 n(n'UR35(a`U(V)s/sHn)[VRX"U)5PM n*n)[[U*5n+U$R]U*V,s/sHn,USU+U,-
--S5-PM sn,5 OU$R]S5/[_U(5-5 U%R]U(5 M� [a[aU$6[aU%6U5H�un&n-n'URE5 URcU'RdS69 URf"US'R7U&5/U-Q76 U'Rh(aS7nOS8nURgS9UU'Rj5 M� US:RjRmS;5(dURKS;5 URU5 GM� U	RU5 gs snnfs snnnnfs sn#n"fs sn'fs sn)fs sn,f)<a�show changeset information by line for each file

List changes in files, showing the revision id responsible for
each line.

This command is useful for discovering when a change was made and
by whom.

If you include --file, --user, or --date, the revision number is
suppressed unless you also include --number.

Without the -a/--text option, annotate will avoid processing files
it detects as binary. With -a, annotate will annotate the file
anyway, although the results will probably be neither useful
nor desirable.

.. container:: verbose

   Use -L/--line-range FILE,M:N options to filter the output to the lines
   from M to N in FILE. This option is incompatible with --no-follow and
   cannot be combined with file pattern arguments. When combined with --rev
   the line ranges refer to the state of the file at the requested revision.

.. container:: verbose

  Template:

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

  :lines:   List of lines with annotation data.
  :path:    String. Repository-absolute path of the specified file.

  And each entry of ``{lines}`` provides the following sub-keywords in
  addition to ``{date}``, ``{node}``, ``{rev}``, ``{user}``, etc.

  :line:    String. Line content.
  :lineno:  Integer. Line number at that revision.
  :path:    String. Repository-absolute path of the file at that revision.

  See :hg:`help templates.operators` for the list expansion syntax.

Returns 0 on success.
�
line_ranges	no_follows---line-range is incompatible with --no-follows3cannot combine filename or pattern and --line-ranges,at least one filename or pattern is requiredrtTrzrxr�r|r~sline_numberNs(at least one of -n/-c is required for -lrs�nowarnsannotatec��USS$)N��)�hs r[�shorthex�annotate.<locals>.shorthex�s
���S�b�6�Mr>c�d>�U[:Xa!STR5R5-$SU-$)N�%d�r
�p1�rev�r��ctxs �r[�	formatrev�annotate.<locals>.formatrev�s+����'�>� �3�6�6�8�<�<�>�1�1� �3�;�&r>c�d>�U[:Xa!STR5R5-$SU-$)Ns%d+s%d r�r�s �r[r�r�s+����'�>�!�C�F�F�H�L�L�N�2�2�!�C�<�'r>c�>�UTRR:Xa0ST"[TR5R	555-$ST"U5-$)Ns%s+�%s )�
nodeconstants�wdirhexrr��node)r�r�rWr�s ���r[�	formathex�annotate.<locals>.formathex
sG����D�&�&�.�.�.����S�V�V�X�]�]�_�)=� >�>�>�����+�+r>r�� c�6�URR5$�N)�fctx�user��xs r[�<lambda>�annotate.<locals>.<lambda>���!�&�&�+�+�-r>c�B�[R"UR5$r�)r/�intrevr�r�s r[r�r�s��������!7r>�nodec�T�[[R"UR55$r�)rr/�binnoder�r�s r[r�r�s��#�g�o�o�a�f�f�&=�">r>c�6�URR5$r�)r��dater�s r[r�r�r�r>�pathc�6�URR5$r�)r��pathr�s r[r�r�r�r>�lineno�:c��UR$r�)�linenor�s r[r�r�s��A�H�Hr>)rsr�r�r�c�^^�UU4Sj$)Nc� >�T"T"U55$r�r�)r��fmtrOs ��r[r��,annotate.<locals>.makefunc.<locals>.<lambda>)s
���S��Q��[r>r��rOr�s``r[�makefunc�annotate.<locals>.makefunc(s	���(�(r>c��U$r�r�r�s  r[r�r�-s���Jr>rr>c3�># �UH7upp4TRTRX55(dUT;dM3Uv� M9 g7fr��rO)�.0�fn�seprOr��datahint�	opnamemaprXs     ���r[�	<genexpr>�annotate.<locals>.<genexpr>7s=�����!&��B�S��8�8�I�M�M�"�)�*�*�b�H�n�	��!&�s
�2A�	Ac�6�[R"SX4-5e)Ns%s: %s)rrS�r��ys  r[�bad�annotate.<locals>.bad=s�����y�A�6�1�2�2r>)�badfn)�section�
whitespacer�r_�r�rvs%s: binary file
sliness
{rev}: {line}��tmpl)�follow�skiprevs�diffopts�%s)r�s* %ss: %ssline����
)7r+rerOrrSrr/�unhidehashlikerevsr#�	revsingle�_parselinerangeopt�pagerr�	debugflag�identity�quietr9�	shortdate�datestrr��__mod__�	shortuserr4�	cachefunc�bytestr�isplainr��joinrdr)�difffeatureopts�revrangerf�walk�	startitem�data�isbinary�plain�nested�annotate�list�	enumerate�endr�colwidth�max�append�len�ziprr��write�skip�text�endswith)2rVrWrhrX�	linerange�
linenumberr��fname�_ranges�rootfm�datefuncr�r��opmapr�r�r�rOr��funcmap�fieldsr�rir�r�r�rj�absr��fm�lines�_fname�
line_start�line_end�no�line�formats�pieces�f�n�lr��sizes�ml�w�pr�r�r�r�s2 ` `                                          @@@@r[r�r�as����v����%�D�����'�I��T�X�X�l�+�+����
�>�?�
�	
��	����
�D�E�
�	
��	����
�=�>�
�	
��x�x�	�����W�
�
�H�H�W�������&�&�����!�!�����!�!���Y�����.�)��5�J�����,�'�'����)�$�$����q�!L�M�N�N�
�(�(�6�
�C�
��)�)�$���y�A��
�
�
�t�S�
)�C��#-�"?�"?��d�"K�
�"K���
�"K�	
�
�
�H�H�[��
�\�\�+�t�
,�F�	�|�|��$�$��	�
�x�x��%�%���#�#��
�w�w�y���8�8�L�!�!�
'�
(�	,�	,��M�M�	��	�
�$�/����>�	��7��C�	�$�>�	�J�	�$�/�����1I�J�	�$�/��1A�1A�B�	�D�,�h�.>�.>�?�

�E����!�	�I��~�~���	)�
	���� �H�"'��!&��B��S�#��8�8�I�M�M�"�)�*�*�b�H�n�	"��#�s�	�S�!�!&���
�!�*�Q�-��%�G�A�J�
�Y�Y��!&���F�3�	�
�
�c�4��S�1�A����,�'�
'�F��$�$�
�D�+�$��H��x�x�� �H���&�&�t�X�6���"�"�4�T�B�H��x�x��{���3�x�������������x�x�� � �T�]�]�_�_��L�L��/�0�8�C�=�@�A��
�]�]�8�*:�]�
;���
�
��H�x��
���-1��-�-�d�D�9�.��.�*�F�*�Z��
!*�%� 0�� 0�H�B����.�h�.��.�� 0�
����F�F�H�������F�A�s�$�%�u�!��1��u�A�%��z�z�|�|�78�9�q�!��*�*�1�-�q��9���Z�����u�M�u�!��d�b�1�f�o� 5�� =�u�M�N�����w��Q��/�0��M�M�!����3��=�#�v�,��>�G�A�q�!��L�L�N��J�J�A�F�F�J�#��H�H�V�S�X�X�a�[�-�1�-��v�v������H�H�W�c�1�6�6�*�?��R�y�~�~�&�&�u�-�-��H�H�U�O�
����e�h�J�J�L��k
��N��T��&��9��Ms6�
]+�:4]1
�2]1
�#]9�;]9�?]9�2]?� ^�^	sarchives	no-decodes"do not pass files through decoders�psprefixs%directory prefix for files in archivesPREFIXsrevision to distribute�t�typestype of distribution to creates[OPTION]... DEST)rHc�&^	^
�URS5nU(a[R"X/S5n[R"X5m	T	(d[
R"[S55eT	R5n[R"T	U5n[RRU5UR:Xa[
R"[S55eURS5=(d [R "U5=(d SnURS5nUS:XaaUS:Xa[
R"[S	55eUm
U	U
4S
jnU(d,[RR#UR5S-n[R"T	U5n[R$"T	/[&R("U55n[R*"UUUUURS5(+UUURS
5S9 g)a�create an unversioned archive of a repository revision

By default, the revision used is the parent of the working
directory; use -r/--rev to specify a different revision.

The archive type is automatically detected based on file
extension (to override, use -t/--type).

.. container:: verbose

  Examples:

  - create a zip file containing the 1.0 release::

      hg archive -r 1.0 project-1.0.zip

  - create a tarball excluding .hg files::

      hg archive project.tar.gz -X ".hg*"

Valid types are:

:``files``: a directory full of files (default)
:``tar``:   tar archive, uncompressed
:``tbz2``:  tar archive, compressed using bzip2
:``tgz``:   tar archive, compressed using gzip
:``txz``:   tar archive, compressed using lzma (only in Python 3)
:``uzip``:  zip archive, uncompressed
:``zip``:   zip archive, compressed using deflate

The exact name of the destination archive or directory is given
using a format string; see :hg:`help export` for details.

Each member added to an archive file has a directory prefix
prepended. Use -p/--prefix to specify a format string for the
prefix. The default is the basename of the archive, with suffixes
removed.

Returns 0 on success.
r�r�s/no working directory: please specify a revisions%repository root cannot be destination�type�files�prefix�-s$cannot archive plain files to stdoutc�2>�[R"TT5$r�)r�makefileobj)r��realdests��r[r��archive.<locals>.<lambda>�s���w�*�*�3��9r>s-%h�	no_decode�subrepos)r#N)rOr/r�r#r�rrSrr�r�makefilename�osr��realpath�rootr�	guesskind�basenamerdr+re�archive)rVrW�destrXr�r��kindrrdr�r s         @@r[r*r*�s����z�(�(�5�/�C�
��)�)�$��y�A��
�
�
�t�
)�C�����
�@�A�
�	
��8�8�:�D�����T�*�D�	�w�w��������*����q�!I�J�K�K��8�8�F��C�x�1�1�$�7�C�8�D�
�X�X�h�
�F��t�|��8���"�"�1�%L�#M�N�N���9����W�W�%�%�d�i�i�0�6�9�F�
�
!�
!�#�v�
.�F��M�M�#�r�8�#7�#7��#=�>�E���������H�H�[�!�!�
�����*�%�	r>�backout�merges,merge with old dirstate parent after backout�commits4commit if no conflicts were encountered (DEPRECATED)s	no-commits
do not commitsparents4parent to choose when backing out merge (DEPRECATED)srevision to backout�e�edits invoke editor on commit messagess[OPTION]... [-r] REVc���UR5 UR5 [XX#40UD6sSSS5 sSSS5 $!,(df   O=fSSS5 g!,(df   g=f)a�reverse effect of earlier changeset

Prepare a new changeset with the effect of REV undone in the
current working directory. If no conflicts were encountered,
it will be committed immediately.

If REV is the parent of the working directory, then this new changeset
is committed automatically (unless --no-commit is specified).

.. note::

   :hg:`backout` cannot be used to fix either an unwanted or
   incorrect merge.

.. container:: verbose

  Examples:

  - Reverse the effect of the parent of the working directory.
    This backout will be committed immediately::

      hg backout -r .

  - Reverse the effect of previous bad revision 23::

      hg backout -r 23

  - Reverse the effect of previous bad revision 23 and
    leave changes uncommitted::

      hg backout -r 23 --no-commit
      hg commit -m "Backout revision 23"

  By default, the pending changeset will have one parent,
  maintaining a linear history. With --merge, the pending
  changeset will instead have two parents: the old parent of the
  working directory and a new child of REV that simply undoes REV.

  Before version 1.7, the behavior without --merge was equivalent
  to specifying --merge followed by :hg:`update --clean .` to
  cancel the merge and leave the child of REV as a head to be
  merged separately.

See :hg:`help dates` for a list of formats valid for -d/--date.

See :hg:`help revert` for a way to restore files to the state
of another revision.

Returns 0 on success, 1 if nothing to backout or there are unresolved
files.
N)ra�lock�
_dobackout)rVrWr�r�rXs     r[�backoutr5�s<��j
����t�y�y�{��"�D�6��6�#�{���{�{�����s!�A�
A�	A�
A	�A�
A*c	�^^�[R"USSS/5 U(a&T(a[R"[	S55eU(dTnU(d[R"[	S55eURS5nU(a[R"U5US'[R"T5 [R"T5 [R"TU5nUR5mTRR5upxTRR!TU5(d[R"[	S55eTRRT5up�U	TR":Xa[R"[	S55eU
TR":wa�URS	5(d[R"[	S
55eTR%US	5nX�U
4;a6[R"[	S5['U5['T54-5eUnO7URS	5(a[R"[	S55eU	nTRR)5n
TR+U
5n[,R"T[/U55nURS5(d�UT:wa�TR1S
5 SURSS50nUR3US
5 [4R6"UTUS9nSSS5 TR9Xx5 SSS5 [:R<"TW5 UR>(a%TR@RC[	S55 gOX[:RD"TTSS9 TRRGU
TRI55 [RJ"UTU5 URS5(a)[	S5nURCU['T5-5 gU4SjnTRRM5n[RN"UTU/[PRR"U55nU(dURC[	S55 g[RT"TUX�U5 U4SjnURC[	S5U"U5U"T54-5 URS5(a�UT:wa�[:RD"TUSS9 URC[	S5U"U5-5 SURSS50nUR3US
5 [:RV"TS5sSSS5 $g!,(df   GNf=f!,(df   GN_=f!,(df   g=f)N�	no_commit�commitr$� please specify just one revisions$please specify a revision to backoutr�s-cannot backout change that is not an ancestors'cannot backout a change with no parents�parents cannot backout a merge changesets%s is not a parent of %ss*cannot use --parent on non-merge changesetr-��uis
forcemerge�toolr>)r:s1use 'hg resolve' to retry unresolved file merges
rF��
show_statss1changeset %s backed out, don't forget to commit.
rc�>�Sn[R"S	SU0[R"U5D6nU(d#S[	T5-n[R"SUS9nURX$R
S5UR
S5X6S9$)
Nr-�editformsBacked out changeset %sT)�editrArxr|��editorr�)r�getcommiteditorr+�	strkwargsr	r8rO)rVrW�messagerdrXrA�er�s       �r[�
commitfunc�_dobackout.<locals>.commitfunc�s�������#�#�
��
�!)�!3�!3�D�!9�
���0�5��;�>�G��'�'�T�H�E�A��{�{��X�X�g�&�����(9�5��
�	
r>�nothing changed
c�V>�STRRU5[U54-$)Ns%d:%s)�	changelogr�r	)r�rWs �r[�nice�_dobackout.<locals>.nice�s&����4�>�>�-�-�d�3�U�4�[�A�A�Ar>s$changeset %s backs out changeset %s
smerging with changeset %s
�tip),r�check_incompatible_argumentsrrSrrOr9�	parsedate�checkunfinished�
bailifchangedr#r�r�rb�parentsrM�
isancestorr�lookupr	�branch�branchheadsr/r�transaction�configoverride�mergemod�back_out�
setparentsr"�
_showstats�unresolvedcountrVrU�clean�	setbranch�currenttransaction�revert�tipr8r+re�commitstatusr$)rVrWr�r�rXr�r��op1�op2r��p2rr:rX�bheads�rctx�	overrides�stats�msgrIre�newnoderNs ``                    r[r4r4>s�����(�(��{�X�w�<O�P�
�t����q�!D�E�F�F��������q�!H�I�J�J��8�8�F��D���)�)�$�/��V�����D�!����$��
�
�
�t�S�
)�C��8�8�:�D��}�}�$�$�&�H�C��>�>�$�$�T�3�/�/����
�>�?�
�	
��^�^�
#�
#�D�
)�F�B�	�T�[�[�����q�!K�L�M�M�	�T�[�[���x�x��!�!��"�"�1�%H�#I�J�J��K�K��X��'����H���"�"��-�.�%��(�E�$�K�1H�H��
����8�8�H����"�"��?�@��
����]�]�
!�
!�
#�F�
�
�
�f�
%�F����T�3�v�;�/�D��8�8�G������
�
�
�j�
)�/����&�#�1F�G�I��"�"�9�j�9� �)�)�#�d�6�l�C��:��O�O�C�%�	*�
	�
�
�d�E�"�� � ��G�G�N�N��G�H�
��	!�	����t��.��
�
�����(?�(?�(A�B����r�4��&��x�x�����E�F��
�	�	�#��d��#�$��
��.�.�
�
�
�C��n�n�
�D�*�b�(�"6�"6�t�"<��G��
�	�	�!�(�)�*������w���<�B��I�I�	�
2�3���=�$�t�*�
%�	&���x�x����S�D�[�
����s�u�-�
�	�	�!�2�3�d�7�m�C�D�+�T�X�X�f�c�-B�C�	�
�
�
�y�*�
5��8�8�D��L�)�6�
5��q:�9��*�
)��p6�
5��s0�-'V�V�-V�(V0�
V	�V�
V-�0
V>�bisect�resetsreset bisect state�g�goodsmark changeset good�b�badsmark changeset bad�ssskip testing changesetsextendsextend the bisect rangescommands$use command to check changeset statesCMD�Usnoupdatesdo not update to targets[-gbsr] [-U] [-c CMD] [REV]c�0
^
�/nUS;aBUR[S55 UnURU5 US:XaSnOFUS:XaSnO=SnO:U(a[R"[S55eUbURU5 U[U5U	UUUS.n
U
Vs/sHo�U(dMUPM nn[
U5S	:�a7[R"[S
5[[U5SS5-5eU(a[R"U5 g[R"U5nU(a�[R"X5nUSnUSnU(a5U(a.URS
UU5nUURS
UU5-
nUU-nUVs/sHnURR!U5PM  nnOUR#S5/nU(dU(dU(ajU(aUS==U-
ss'O)U(aUS==U-
ss'OU(a
US==U-
ss'[R$"UU5 US(a
US(dgS%U
4Sjjn[R&"X05nU(GaS	nT
(a
USSnOLUR,R/5unnUUR0:wa[R*"[S55eU(a<U(d[R"[S55eUUSR!5n[R2"UUU5 U(Ga5U/US'[R$"UU5 UR5US[7U50SS9nUS:XaSnO[US:XaSnORUS:Xa"[R8"[S5U-5eUS:a"[R8"[S5U-5eSnUURU5 UUn[:R<"UUS5nUR?[S5UU4-5 [R@"U5 [RB"UU5unnn USnU"UUSS 9 U(aGM5SSS5 [RD"XUUUW 5 g[R@"U5 [RB"UU5unnnU	(a�U(d�[RF"UUUU5n!U!buURI[S!5[:R<"UU!S5-5 U!R!5/US'[R$"UU5 U"UU!R!55$[R*"[S"55eUS:Xa[RD"XUUUU5 g[
U5S	:XdeUSnS#un"n#U#U::aU"S	-U#S-n#n"U#U::aMURRKU5n[:R<"XUS5nURI[S$5UUU"4-5 U/US'[R$"UU5 U"UU5$s snfs snf![(a  [R*"[S55ef=f!,(df   GN=f)&a�	subdivision search of changesets

This command helps to find changesets which introduce problems. To
use, mark the earliest changeset you know exhibits the problem as
bad, then mark the latest changeset which is free from the problem
as good. Bisect will update your working directory to a revision
for testing (unless the -U/--noupdate option is specified). Once
you have performed tests, mark the working directory as good or
bad, and bisect will either update to another candidate changeset
or announce that it has found the bad revision.

As a shortcut, you can also use the revision argument to mark a
revision as good or bad without checking it out first.

If you supply a command, it will be used for automatic bisection.
The environment variable HG_NODE will contain the ID of the
changeset being tested. The exit status of the command will be
used to mark revisions as good or bad: status 0 means good, 125
means to skip the revision, 127 (command not found) will abort the
bisection, and any other non-zero exit status means the revision
is bad.

.. container:: verbose

  Some examples:

  - start a bisection with known bad revision 34, and good revision 12::

      hg bisect --bad 34
      hg bisect --good 12

  - advance the current bisection by marking current revision as good or
    bad::

      hg bisect --good
      hg bisect --bad

  - mark the current revision, or a known revision, to be skipped (e.g. if
    that revision is not usable because of another issue)::

      hg bisect --skip
      hg bisect --skip 23

  - skip all revisions that do not touch directories ``foo`` or ``bar``::

      hg bisect --skip "!( file('path:foo') & file('path:bar') )"

  - forget the current bisection::

      hg bisect --reset

  - use 'make && make tests' to automatically find the first broken
    revision::

      hg bisect --reset
      hg bisect --bad 34
      hg bisect --good 12
      hg bisect --command "make && make tests"

  - see all changesets whose states are already known in the current
    bisection::

      hg log -r "bisect(pruned)"

  - see the changeset currently being bisected (especially useful
    if running with -U/--noupdate)::

      hg log -r "bisect(current)"

  - see all changesets that took part in the current bisection::

      hg log -r "bisect(range)"

  - you can even get a nice graph::

      hg log --graph -r "bisect(range)"

  See :hg:`help revisions.bisect` for more about the `bisect()` predicate.

Returns 0 on success.
)rsrurq�inits)(use of 'hg bisect <cmd>' is deprecated)
rsTrusincompatible argumentsN)s--bads	--commands--extends--goods--resets--skiprs%s and %s are incompatibler�s(%ln)::(%ln)�.r�c�>�T(ag[R"U5 [R"U5 [R"XUS9$)zcommon used update sequenceNr>)rrSrTr"ra)rWr�r?�noupdates   �r[�	mayupdate�bisect.<locals>.mayupdate_s6���������%����d�#��x�x��z�:�:r>scurrents>current bisect revision is unknown - start a new bisect to fixs"current bisect revision is a merge�empty revision setr�sHG_NODEsbisect_check)�environ�
blockedtag�}�sfailed to execute %ss	%s killedrpschangeset %s: %s
Fr>s!Extending search to changeset %s
snothing to extend)rrzs:Testing changeset %s (%d changesets remaining, ~%d tests)
)T)&�warnrr�rrS�boolr��tuple�sortedr �
resetstate�
load_stater#r��revsrMr�rW�
save_state�changesetdisplayer�LookupErrorrQrbrUr�
restore_state�systemr�Abortr�format_changeset_summaryrU�
checkstate�bisect�printresult�extendranger�r�)$rVrW�positional_1�positional_2r8�reset�goodr�r��extendr}r��cmd�
incompatiblesr��enabledr2r��	goodnodes�badnodes�
candidates�i�nodesr~�	displayer�
changesetsr�rirU�
transitionr��summary�bgood�	extendctx�tests�sizes$          `                         r[r�r��s���d
�C��;�;�
����?�@�A����
�
�<� ��'�>��D�
�F�]��C��E�	����q�!:�;�<�<�	�	!��
�
�<� ���7�m�����
�M�(�<�-�Q��+;�q�-�G�<�
�7�|�a�����
�+�,�u�V�G�_�Q�q�5I�/J�J�
�	
�
����4� �����t�$�E�
��"�"�4�-���'�N�	���=�������?�I�x�H�J��$�)�)�O�X�y�I�I�J���$�D�15�6��A����$�$�Q�'���6�����T�"�#���s�d���'�N�e�#�N�
��&�M�U�"�M�
��'�N�e�#�N����4��'��g��5��=��;��-�-�b��;�I���
��
��Z�(��+���}�}�,�,�.�H�D�"��T�[�[� ��&�&�q�)N�'O�P�P����&�&�q�)>�'?�@�@���b�	�?�'�'�)�D�
�
"�
"�4���
5��%)�F��j�!��"�"�4��/�����'��T��3�.�#���
�S�=�!(�J��q�[�!(�J��s�]��+�+�a�(?�&@�7�&J�K�K��a�Z��+�+�a��o��&?�@�@�!'�J��j�!�(�(��.��4�j��!�:�:�2�s�I�N���	�	�!�1�2�g�z�5J�J�K��"�"�5�)�+2�>�>�$��+F�(��z�5��Q�x���$���7�;�*�6�>	���B�e�Y��u�E�����u��&�n�n�T�5�9��E�:�t�
���+�+�D�%���E�I��$�����;�<��6�6�r�9�i�P�Q��&/�^�^�%5�$6��j�!��"�"�4��/� ��y�~�~�'7�8�8����q�!5�6�7�7��Q�����B�e�Y��t�D��5�z�Q�����Q�x�����t��j� ��!�)�T�A�X�4�E��j� ��n�n� � ��&���2�2�2�C�y�)�L��
���
�:�
��
�E�*�	
+�	
�"�F��j�����4��'���t�$�$��U=��*7��>�
��&�&��5����
��6�
5�s+�
Y�-Y�%Y�Y�0D;Z�*Z�
Zsbookmarks|bookmark�forcesrevision for bookmark action�deletesdelete a given bookmark�msrenamesrename a given bookmarksOLD�isinactivesmark a bookmark inactive�listslist existing bookmarkss#hg bookmarks [OPTIONS]... [NAME]...c��URS5nURS5nURS5n[R"USSS5nU(a[R"X7S/5 OU(dU(aSnOU(aSnOSn[R"USSS/5 U(d%US;a[R
"[
S	55eUS
;Ga�UR5 UR5 URS5nUS:XaD[R"URRU5n[R"XU5 GO/US:Xa�U(d[R
"[
S55e[!U5S
:�a[R
"[
S55eURRUS5n	[R""XX�SXF5 O�US:Xa[R$"XX%XF5 O|US:Xav[!UR5S:XaUR'[
S55 OBUR((dUR'[
S55 O[R*"U5 SSS5 SSS5 SSS5 gUS:Xar[R"URRU5nUR-S[R."U55n
[R0"XX�5 SSS5 g[R2"S[R4"U5-5e!,(df   N�=f!,(df   N�=f!,(df   g=f!,(df   g=f)a�create a new bookmark or list existing bookmarks

Bookmarks are labels on changesets to help track lines of development.
Bookmarks are unversioned and can be moved, renamed and deleted.
Deleting or moving a bookmark has no effect on the associated changesets.

Creating or updating to a bookmark causes it to be marked as 'active'.
The active bookmark is indicated with a '*'.
When a commit is made, the active bookmark will advance to the new commit.
A plain :hg:`update` will also advance an active bookmark, if possible.
Updating away from a bookmark will cause it to be deactivated.

Bookmarks can be pushed and pulled between repositories (see
:hg:`help push` and :hg:`help pull`). If a shared bookmark has
diverged, a new 'divergent bookmark' of the form 'name@path' will
be created. Using :hg:`merge` will resolve the divergence.

Specifying bookmark as '.' to -m/-d/-l options is equivalent to specifying
the active bookmark's name.

A bookmark named '@' has the special property that :hg:`clone` will
check it out by default if it exists.

.. container:: verbose

  Template:

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

  :active:  Boolean. True if the bookmark is active.

  Examples:

  - create an active bookmark for a new line of development::

      hg book new-feature

  - create an inactive bookmark as a place marker::

      hg book -i reviewed

  - create an inactive bookmark on another changeset::

      hg book -r .^ tested

  - rename bookmark turkey to dinner::

      hg book -m turkey dinner

  - move the '@' bookmark from another branch::

      hg book -f @

  - print only the active bookmark name::

      hg book -ql .
�forcer��inactive�delete�renamer�rg>rgr�sbookmark name required>rgr�r�r��bookmarksnew bookmark name requiredrs"only one new bookmark name allowedrsno bookmarks set
sno active bookmark
N�	bookmarkssinvalid action: %s)rOr�check_at_most_one_argrQrrSrrar3rZr+�maplist�
_bookmarks�
expandnamer
r�r�r��addbookmarksrU�_activebookmark�
deactivaterre�printbookmarks�ProgrammingError�sysbytes)rVrW�namesrXr�r�r��action�tr�oldnamers           r[�bookmarkr��s���T
�H�H�W��E�
�(�(�5�/�C��x�x�
�#�H�
�
*�
*�4��8�V�
L�F�
��,�,�T�E�7�C�	�#���	������(�(��z�H�f�;M�N��V�0�0����q�!:�;�<�<�
�8�8�
�Z�Z�\�4�9�9�;��(8�(8��(E����!� �(�(����)C�)C�U�K��� � ��5�1��8�#���*�*�1�-J�+K�L�L���Z�!�^��*�*��?�@����/�/�4�4�T�(�^�D��� � ��7�!�H�e�N��5���&�&�t��U�M��:�%��t���'�1�,��I�I�a� 5�6�7��-�-��I�I�a� 7�8�9��(�(��.�+)F�;�\�\�,
�6�	�� � ����!;�!;�U�C��
�\�\�,��(<�(<�T�(B�
C�r��$�$�R�r�9�D�
C��$�$�!�H�$5�$5�f�$=�=�
�	
�7)F�(E��;�;��\�\��0D�
C�sI�'M$�8M�
E:M�M�M$�4M5�
M�M�
M!	�M$�$
M2�5
N�branchs5set branch name even if it shadows an existing branch�C�cleans'reset branch name to parent branch names0change branches of the given revs (EXPERIMENTAL)s[-fC] [NAME]c�L�URS5nU(aUR5nURS5(dZU(dSU(a[R"[	S55eURSURR5-5 gUR5 URS5(a[USR5nURRX!R55 UR[	S5U-5 GOlU(Gad[R"XS5 U(a![R"XXB40UD6sSSS5 $URS	5(dnX!R!5;a[X!SR#5Vs/sHoUR5PM sn;a'[R"[	S
5[	S5S9eURRX!R55 UR[	S
5U-5 UR!5R%5Hupgp�US:wdMU	(aM SSS5 g UR[	S55 SSS5 gs snf!,(df   g=f)a�set or show the current branch name

.. note::

   Branch names are permanent and global. Use :hg:`bookmark` to create a
   light-weight bookmark instead. See :hg:`help glossary` for more
   information about named branches and bookmarks.

With no argument, show the current branch name. With one argument,
set the working directory branch name (the branch will not exist
in the repository until the next commit). Standard practice
recommends that primary development take place on the 'default'
branch.

Unless -f/--force is specified, branch will not let you set a
branch name that already exists.

Use -C/--clean to reset the working directory branch to that of
the parent of the working directory, negating a previous branch
change.

Use the command :hg:`update` to switch to an existing branch. Use
:hg:`commit --close-branch` to mark this branch head as closed.
When all heads of a branch are closed, the branch will be
considered closed.

Returns 0 on success.
r�ras*no branch name specified for the revisions�%s
Nr{s%reset working directory to branch %s
r�r�s(a branch of the same name already existssuse 'hg update' to switch to itrMs&marked working directory as branch %s
�defaultrs>(branches are permanent and global, did you want a bookmark?)
)rO�striprrSrr�rbrXrarbrcrUr/�
checknewlabelr�changebranch�	branchmaprU�iterbranches)
rVrW�labelrXr�rrr��t�cs
          r[rXrXDs��b�8�8�E�?�D�����
���8�8�G���U���"�"��?�@��
�	����4�=�=�/�/�1�1�2��	
�����8�8�G�����J�%�%�'�E��M�M�#�#�E�+B�+B�+D�E��I�I�a�A�B�U�J�K�
��!�!�$�y�9���+�+�B�d�J�T�J�
���8�8�G�$�$��.�.�2B�)B��$�Z�5G�5G�5I� J�5I�����5I� J�J��*�*��E�F��A�B���
�M�M�#�#�E�+B�+B�+D�E��I�I�a�B�C�e�K�L�#�n�n�.�;�;�=�
��a��
�?�1�1��1
��,>�
�I�I��3��
�3
���!K�
��s8�)B/J�">J� J�9BJ�J�!J�+J�J�
J#�branchessactives8show only branches that have unmerged heads (DEPRECATED)sclosedsshow normal and closed branchess$show branch name(s) of the given revs[-c])rH�intentsc��URS5nSnU(aJ[R"X5nUR5RnUVs1sH
o�"U5SiM nnURS5 UR
S[R"U55n	U	Rn
[UR55n/nUR5R5Hlup�nnUbX�;aMSnU(d6[UR5RU55n[UU-5nUR!X�UUU(+45 Mn UR#SSS9 UGH�un
nnnU(a	U(dMU(aS	nS
nO+U(dU(dM5Sn[%S5nO
S
n[%S5nX�R&R)5:HnU(aSnU	R+5 U	R-SSU
US9 UR/5n[1S[3SU-5-
[4R6"U
5-
S5nSU-S-nU	R9UR:(+SUUU
"UR=55SUR?5-S9 U	RAUS9 U	RCUU(+US9 UR:(dU	REU5 U	RES5 GM� U	RG5 gs snf)a�list repository named branches

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.
r�Nrr�Fc�B�USUSR5USUS4$)Nrzrr��r�)r�s r[r��branches.<locals>.<lambda>�s#���1��q��t�x�x�z�1�Q�4��1�� >r>T)�key�reversesbranches.activer>sbranches.closeds	 (closed)sbranches.inactives (inactive)sbranches.currentr�r��r��r�r�s %d:%s�rev nodeslog.changeset changeset.%s�r�)�active�closed�currentr�)$rOr#r��revbranchcache�
branchinfor�rr+re�hexfunc�set�headsr�r��iteropenr�r��sortrrbrXr�r�r�r�r�rr��	condwriter�r��phasestrrr�r�r�)rVrWr�r�rXr��selectedbranches�getbi�rrr��allheads�branches�tagr�re�isclosed�isactive�	openheadsr��isopenr��noticer�r��padsizer�s                           r[r�r��s���R�8�8�E�?�D�����"�"�4�.���#�#�%�0�0��15�6��A�E�!�H�Q�K���6��H�H�[��	���k�8�#7�#7��#=�	>�B��j�j�G��4�:�:�<� �H��H�%)�^�^�%5�%B�%B�%D�!��C���'�C�,G������D�N�N�,�5�5�e�<�=�I��I��0�1�H�����3�i��x�<�@�A�&E�
�M�M�>��M�M�&.�"��S�(�F��(���&�E��F����&�E��|�_�F�(�E��~�&�F����-�-�/�/���'�E�
����
����E�3�e��4��g�g�i���b�3�u�s�{�+�+�h�.?�.?��.D�D�a�H���W�n�y�(��
������L�����C�H�H�J��/�#�,�,�.�@�
	�	
�	�
�
�s�
��
���x�F�
�G��D��x�x��H�H�V��
�����G'/�H�F�F�H��m7s�K;�bundlesexacts,compute the base from the revision specifieds*run even when the destination is unrelateds3a changeset intended to be added to the destinations*a specific branch you would like to bundlesBRANCHsbases;a base changeset assumed to be available at the destination�alls'bundle all changesets in the repository�bzip2sbundle compression type to usesD[-f] [-t BUNDLESPEC] [-a] [-r REV]... [--base REV]... FILE [DEST]...c��
�SnSU;aHUSn[R"X5nU(a&U(d[R"[	S55eURSS5R
5n[R"XSS9nURRS
S5n
URSnUS:Xa'[R"[	S
5[	S5S	9eURS5nURS5(aU(a[R"[	S55eU(aUR[	S55 URS5(aUR[	S55 [/n
O�URS5(ahU(a[R"[	S55eU(aUR[	S55 URSXU5n
U
(d[/n
O.U(a%[R"X5n
U
(d[/n
OSn
[ R""U5nU
(a'X�;a"[R$"[	S5U-5eU
b�U(a[R"[	S55eUR&nU
Vs/sHnUR)U5PM nnU(a"UVs/sHnUR)U5PM snOSn[*R,"UUU5nUR.nUR0nGOB[35n[35n[4R6"XU5GHn[8R:"U[R<"U5U5nUb$UVs/sHnUUR?5PM nnOSnUR@/4n[8RB"XUU5unnU=(a! [RD"URFU5=(d Un[*RH"UUUURS5SS9nURKUR.5 URKUR05 GM U(d&[LRN"XU
(+=(a U5 gURSU5nU(a7[	S5n[	S 5[QU5-n[R$"UUS	9eW(a[*R,"UUUS!9nO[*R,"UUS"9n[SU5UlUS#:XaS$URT-n Sn!O.US%;aS&n URTn!O[RV"S'U-5e0n"URYS(S)URZ-5n#U#cURYS(S*5n#U#bU#U"S+'URYS(S,URZ-5n$U$cURYS(S-5n$U$bU$U"S.'UR\n%U%"S(S/5n&UR_S0U&SS19 U%"S(S25n'UR_S3U'SS19 URRS4S5(dU%"S(S55n(UR_S4U(SS19 [`Rb"UUS6UU UURU!U"S79	 g![Ra7n	[R"[R"U	5[	S5S	9eSn	A	ff=fs snfs snfs snf)8aHcreate a bundle file

Generate a bundle file containing data to be transferred to another
repository.

To create a bundle containing all changesets, use -a/--all
(or --base null). Otherwise, hg assumes the destination will have
all the nodes you specify with --base parameters. Otherwise, hg
will assume the repository has all the nodes in destination, or
default-push/default if no destination is specified, where destination
is the repositories you provide through DEST option.

You can change bundle format with the -t/--type option. See
:hg:`help bundlespec` for documentation on this format. By default,
the most appropriate format is used and compression defaults to
bzip2.

The bundle file can then be transferred using conventional means
and applied to another repository with the unbundle or pull
command. This is useful when direct push and pull are not
available or when exporting an entire repository is undesirable.

Applying bundles preserves all changeset contents including
permissions, copy/rename information, and revision history.

Returns 0 on success, 1 if no changes found.
Nr�sno commits to bundlerr�F)�stricts8see 'hg help bundlespec' for supported values for --typerMschangegroups
cg.versionss1s0packed bundles cannot be produced by "hg bundle"s%use 'hg debugcreatestreamclonebundle'�base�alls2--all is incompatible with specifying destinationss,ignoring --base because --all was specified
�exacts-ignoring --exact because --all was specified
s4--exact is incompatible with specifying destinationss.ignoring --base because --exact was specified
sparents(%ld) - %lds-repository does not support bundle version %ss3--base is incompatible with specifying destinationsr�T)�	onlyheadsr��portablers%ln and _internal()s!cannot bundle internal changesetss%d internal changesets selected)�missingroots�ancestorsof)rs01sHG10)s02s03sHG20s)bundle: unexpected changegroup version %s�experimentalsbundlecomplevel.sbundlecomplevelslevelsbundlecompthreads.sbundlecompthreadssthreadssevolution.bundle-obsmarkersobsolescence)�	overwrites$evolution.bundle-obsmarker:mandatorysobsolescence-mandatory�phasess
bundle-phasesr�)�compression�compopts)2r#r�rrSrrO�lowerr�parsebundlespec�UnsupportedBundleSpecificationr+r��paramsr�rr�r�supportedoutgoingversionsr�rMr�r�outgoing�missing�excludedr�r<�get_push_pathsr"�peerrerrX�
addbranchrevsr�rW�findcommonoutgoing�updater/�nochangesfoundr�r��wirecompressionr��	configintr	�
configbool�	set_paramr�writenewbundle))rVrWr��destsrXr��
revstrings�
bundletype�
bundlespecrH�has_changegroup�	cgversion�base_optr��supported_cg_versions�clr��commonr�r�rrrr��other�hex_revsr��	head_revs�checkout�bundled_internalrnrN�bversion�bcompressionr
�	complevel�compthreads�cfg�obsolescence_cfg�obs_mand_cfg�
phases_cfgs)                                         r[�bundler5	sO��\�D���}��%�[�
��"�"�4�4���d��"�"�1�%<�#=�>�>����&�(�+�1�1�3�J�
�!�1�1��U�
�
�!�'�'�+�+�N�E�B�O��!�!�-�0�I��E�����
�A�B��;�<�
�	
��x�x���H��x�x������"�"��G�H��
���G�G�A�F�G�H��8�8�G����G�G�A�G�H�I��y��	
���'�	�	���"�"��I�J��
���G�G�A�H�I�J��y�y�.��;����9�D��	��"�"�4�2����9�D����'�A�A�$�G���9�A��k�k�
�>�?�)�K�
�	
�����"�"��H�I��
��^�^��*.�/�$�3�"�'�'�#�,�$��/�.2�T�*�T�������T�*����%�%�d�F�E�:���"�"���$�$���%���5���*�*�4�U�;�D��G�G�D�(�"6�"6�t�"<�d�C�E���37�8�4�a�D��G�K�K�M�4��8�������R�(�H�"$�"2�"2��H�h�#��I�x��=��$�$�T�[�[�)�<���
�
!�3�3�����h�h�w�'���H�
�N�N�8�+�+�,��O�O�H�-�-�.�/<�2����r�T��)>�h�?���y�y�!7��A����4�5���3�4�s�;K�7L�L���k�k�#�D�)�)���%�%��w�E�
���%�%�d��A���x�(�H���E���Z�7�7�7����	�n�	$���!�1�1���$�$�8�9�D�
�	
��H�����,�z�/E�/E�E��I����L�L��2D�E�	���&�����,�,��.��1G�1G�G��K����l�l�?�4H�I����*����
�-�-�C��?�,I�J������*:�e��L���(O�P�L����!�<�5������ � ��E�2�2���*:�;�
����Y�
�e��D����
���
������ ��
��s�/�/�
�������Q���N�O�
�	
��
��n0��*��9s*�2Z�.[�[�
[$�[� 2[�[�cat�o�outputs(print output to file with formatted namesFORMATsprint the given revisionsdecodes apply any matching decode filters[OPTION]... FILE...)rHr]r�c
��URS5nU(a[R"X/S5n[R"X5n[R
"Xb4U-[R"U55nURSS5n[R"U5(aSnU(a-[R"US[R"U55n	O7URS5 URS[R"U55n	U	 [R"XXgX�S40UD6sSSS5 $!,(df   g=f)aqoutput the current or given revision of files

Print the specified files as they were at the given revision. If
no revision is given, the parent of the working directory is used.

Output may be to a file, in which case the name of the file is
given using a template string. See :hg:`help templates`. In addition
to the common template keywords, the following formatting rules are
supported:

:``%%``: literal "%" character
:``%s``: basename of file being printed
:``%d``: dirname of file being printed, or '.' if in repository root
:``%p``: root-relative path name of file being printed
:``%H``: changeset hash (40 hexadecimal digits)
:``%R``: changeset revision number
:``%h``: short-form changeset hash (12 hexadecimal digits)
:``%r``: zero-padded changeset revision number
:``%b``: basename of the exporting repository
:``\``: literal "\" character

.. container:: verbose

  Template:

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

  :data:    String. File content.
  :path:    String. Repository-absolute path of the file.

Returns 0 on success.
r�r��outputr>r6N)rOr/r�r#r�rdr+re�popr�isstdiofilenamer�
nullformatterr��cat)
rVrW�file1rhrXr�r�ri�
fntemplaters
          r[r>r>	s���l�(�(�5�/�C�
��)�)�$��y�A��
�
�
�t�
)�C��
�
�c�8�d�?�H�,@�,@��,F�G�A����(�C�(�J����z�*�*��
��
�
$�
$�R���1E�1E�d�1K�
L��
�����
�\�\�&�(�"6�"6�t�"<�
=��	��{�{�2�S�R�S�I�D�I�
���s�D6�6
EsclonesEthe clone will include an empty working directory (only a repository)s	updaterevs%revision, tag, or branch to check outsEdo not clone everything, but include this changeset and its ancestorssQdo not clone everything, but include this branch's changesets and their ancestorsspulls"use pull protocol to copy metadatasuncompresseds!an alias to --stream (DEPRECATED)sstreams"clone with minimal data processings[OPTION]... SOURCE [DEST])rHrI�norepoc�8�[R"USS5 SupEURS5(a�[5n[5nURS5(a%[R
"URS55nURS5(a%[R
"URS55n[R"U[R"U5UUURS5URS5=(d URS	5URS
5URS5=(d URS5(+URS5URS5UUURS
5=(d SS9
nUSL$)a�make a copy of an existing repository

Create a copy of an existing repository in a new directory.

If no destination directory name is specified, it defaults to the
basename of the source.

The location of the source is added to the new repository's
``.hg/hgrc`` file, as the default to be used for future pulls.

Only local paths and ``ssh://`` URLs are supported as
destinations. For ``ssh://`` destinations, no working directory or
``.hg/hgrc`` will be created on the remote side.

If the source repository has a bookmark called '@' set, that
revision will be checked out in the new repository by default.

To check out a particular version, use -u/--update, or
-U/--noupdate to create a clone with no working directory.

To pull only a subset of changesets, specify one or more revisions
identifiers with -r/--rev or branches with -b/--branch. The
resulting clone will contain only the specified changesets and
their ancestors. These options (or 'clone src#rev dest') imply
--pull, even for local source repositories.

In normal clone mode, the remote normalizes repository data into a common
exchange format and the receiving end translates this data into its local
storage format. --stream activates a different clone mode that essentially
copies repository files from the remote with minimal data processing. This
significantly reduces the CPU cost of a clone both remotely and locally.
However, it often increases the transferred data size by 30-40%. This can
result in substantially faster clones where I/O throughput is plentiful,
especially for larger repositories. A side-effect of --stream clones is
that storage settings and requirements on the remote are applied locally:
a modern client may inherit legacy or inefficient storage used by the
remote or a legacy Mercurial client may not be able to clone from a
modern Mercurial remote.

.. note::

   Specifying a tag will include the tagged changeset but not the
   changeset containing the tag.

.. container:: verbose

  For efficiency, hardlinks are used for cloning whenever the
  source and destination are on the same filesystem (note this
  applies only to the repository data, not to the working
  directory). Some filesystems, such as AFS, implement hardlinking
  incorrectly, but do not report errors. In these cases, use the
  --pull option to avoid hardlinking.

  Mercurial will update the working directory to the first applicable
  revision from this list:

  a) null if -U or the source repository has no changesets
  b) if -u . and the source repository is local, the first parent of
     the source repository's working directory
  c) the changeset specified with -u (if a branch name, this means the
     latest head of that branch)
  d) the changeset specified with -r
  e) the tipmost head specified with -b
  f) the tipmost head specified with the url#branch source syntax
  g) the revision marked with the '@' bookmark, if present
  h) the tipmost head of the default branch
  i) tip

  When cloning from servers that support it, Mercurial may fetch
  pre-generated data from a server-advertised URL or inline from the
  same stream. When this is done, hooks operating on incoming changesets
  and changegroups may fire more than once, once for each pre-generated
  bundle and as well as for any additional remaining data. In addition,
  if an error occurs, the repository may be rolled back to a partial
  clone. This behavior may change in future releases.
  See :hg:`help -e clonebundles` for more.

  Examples:

  - clone a remote repository to a new directory named hg/::

      hg clone https://www.mercurial-scm.org/repo/hg/

  - create a lightweight local clone::

      hg clone project/ project-feature/

  - clone from an absolute path on an ssh server (note double-slash)::

      hg clone ssh://user@server//home/projects/alpha/

  - do a streaming clone while checking out a specified version::

      hg clone --stream http://server/repo -u 1.5

  - create a repository without changesets after a particular revision::

      hg clone -r 04e544 experimental/ good/

  - clone (and track) a particular named branch::

      hg clone https://www.mercurial-scm.org/repo/hg/#stable

See :hg:`help urls` for details on specifying URLs.

Returns 0 on success.
r}�	updaterev�NN�narrow�include�exclude�pull�stream�uncompressedr�rX�	shareopts�depthN)	rHrIr�rrXrK�storeincludepats�storeexcludepatsrL)
rr�rOr�r&�
parsepatternsr"�cloner+re)rV�sourcer+rX�includepats�excludepatsr�s       r[rPrPQs>��z�!�!�$�
�K�@� *��K��x�x�����e���e���8�8�I���$�2�2�4�8�8�I�3F�G�K��8�8�I���$�2�2�4�8�8�I�3F�G�K�
���
����T�"���
�X�X�f�
��x�x��!�=�T�X�X�n�%=�
�X�X�e�_��x�x��$�@�D�H�H�Z�,@�(@��x�x��!��(�(�;�'�$�$��h�h�w��'�4�	�A� 
��9�r>s	commit|ci�As9mark new/missing files as added/removed before committingsclose-branchsmark a branch head as closed�amends)amend the parent of the working directory�secrets#use the secret phase for committing�drafts"use the draft phase for committingsforce-close-branchs:forcibly close branch from a non-head changeset (ADVANCED)sinteractivesuse interactive modec�@�[R"USS5 [R"USS/5 UR5 UR	5 [X/UQ70UD6sSSS5 sSSS5 $!,(df   O=fSSS5 g!,(df   g=f)a"commit the specified files or all outstanding changes

Commit changes to the given files into the repository. Unlike a
centralized SCM, this operation is a local operation. See
:hg:`push` for a way to actively distribute your changes.

If a list of files is omitted, all changes reported by :hg:`status`
will be committed.

If you are committing the result of a merge, do not provide any
filenames or -I/-X filters.

If no commit message is specified, Mercurial starts your
configured editor where you can enter a message. In case your
commit fails, you will find a backup of your message in
``.hg/last-message.txt``.

The --close-branch flag can be used to mark the current branch
head closed. When all heads of a branch are closed, the branch
will be considered closed and no longer listed.

The --amend flag can be used to amend the parent of the
working directory with a new commit that contains the changes
in the parent in addition to those currently reported by :hg:`status`,
if there are any. The old commit is stored in a backup bundle in
``.hg/strip-backup`` (see :hg:`help bundle` and :hg:`help unbundle`
on how to restore it).

Message, user and date are taken from the amended commit unless
specified. When a message isn't specified on the command line,
the editor will open with the message of the amended commit.

It is not possible to amend public changesets (see :hg:`help phases`)
or changesets that have children.

See :hg:`help dates` for a list of formats valid for -d/--date.

Returns 0 on success, 1 if nothing changed.

.. container:: verbose

  Examples:

  - commit all files ending in .py::

      hg commit --include "set:**.py"

  - commit all non-binary files::

      hg commit --exclude "set:binary()"

  - amend the current commit and set the date to now::

      hg commit --amend --date now
�draft�secretr#�amendN)rr�rQrar3�	_docommit)rVrWrhrXs    r[r8r8se��n�!�!�$���:��(�(��z�G�9�E�	
����t�y�y�{���1�D�1�D�1�#�{���{�{�����s$�B�A5�"	B�5
B	�?B�
Bc�
^�URS5(aKURS5 [R"X[SS[R
/UQ70UD6nUS:XaS$U$URS5(aUR
SSSS	5 [R"USS
9 USR5nURU5nURR5n0mURS5(dURS5(Ga�S
TS'USR5(a�[R"USU[R "U55nUR#US9n	U	R$(d"U	R&(dU	R((aURUSS9nO![+S5n
[,R."U
5eU(d"[,R."[+S5U-5eXQSR5:XaVUSR15U;a?URS5(d)[+S5n[,R."[+S5US9eURS5(aiUSR35R5U:waDUSR55R5U:wa[,R."[+S55eURS5(a�UR7SS5(a[,R."[+S55eUSn[8R:"XR=5/S5 [>R@"U[>RB5(d[R"U5 [RD"XUTX#5n
X�R15:XaUR#[+S55 gO�U4Sjn[R"XX�[R "U55n
U
(d�[RF"X[R "U55nURH(a1UR#[+S5[KURH5-5 gUR#[+S55 g[RL"XXVU40UD6 URN(d8UR7SS5(a [#UUSSSSSURS5S9 ggg) N�interactiveFrrr#r<scommitsubreposTr/)r8�close_branch�force_close_branch�1scloser{)rd�r�s1current revision is already a branch closing heads!branch "%s" has no heads to closesBuse --force-close-branch to close branch from a non-head changesetscan only close branch headsrMr[s+cannot amend with ui.commitsubrepos enabledrUrKc�F>�0nURS5(aSUS'OURS5(aSUS'URnURUS5 URUS5 [R"USS5n[R
"S
SU0[R"U5D6nURUURS5URS5UUT	S	9sSSS5 sSSS5 $!,(df   O=fSSS5 g!,(df   g=f)NrV)rs
new-commitrWr/s
commit.normalrArxr|)rD�extrar�)	rO�baseuir[r�
mergeeditformrEr+rFr8)
rVrWrGrdrXrlrerArDrds
         �r[rI�_docommit.<locals>.commitfunc�s	����I��x�x�	�"�"�8A�	�4�5����(�#�#�8@�	�4�5��[�[�F��&�&�y�)�<��&�&�y�)�<�&�4�4��T�
�$4� �H�%�4�4��!)��-5�-?�-?��-E��F� �;�;������)�����)��%�#�
'��=�<�=�<�<�<��<�=�<�<�s%�D�,A8C7�$	D�7
D	�D�
D s4nothing changed (%d missing files, see 'hg status')
�commandsscommit.post-status)�modified�added�removed�deleted�unknownr#)(rOr;r�dorecordr8�recordfilter�	setconfigrSrXrYrMre�closesbranchr/rdr+rerUrirjrkrrrSr�r�rirr.�precheckr�r'�	isenabled�createmarkersoptr[�postcommitstatusrlr�rfr�)rVrWrhrX�retrXrjrerp�srnrN�oldr�rI�statrds                @r[r\r\ns%����x�x�
������������f�d�E�7�+?�+?�
�BF�
�JN�
��
�1�H�q�%�#�%��x�x�
���
���U�-�t�Y�?����D��.�
�$�Z�
�
�
 �F�
�
�
�f�
%�F�
�.�.�
�
�
�C��E��x�x����4�8�8�,@�#A�#A���h����:�"�"�$�$��m�m��T�
�D�(�"6�"6�t�"<��G����'��*�A��z�z�Q�W�W��	�	��)�)�&��)�>���L�M���&�&�s�+�+���"�"��6�7�&�@��
�
�4�j�'�'�)�)��T�
���!��/��H�H�1�2�2����D��"�"�1�%C�#D�4�P�P�
�X�X�g�
�
��T�
�
�
��&�&�(�F�2���J�M�M�O�*�*�,��6��&�&�q�)G�'H�I�I��x�x����
�=�=�� 1�2�2��"�"��@�A��
��4�j�����T�G�G�I�;��9��!�!�$��(A�(A�B�B��#�#�D�)��}�}�R�s�E�4�>���8�8�:���I�I�a�,�-�.���
	�2�~�~��j��(<�(<�T�(B�
����+�+��H�0�0��6��D��|�|��	�	��*���$�,�,�'�	(����	�	�!�0�1�2������V�S�A�D�A�
�8�8��
�
�k�3H�I�I����������X�X�j�)�		
�J�8r>sconfig|showconfig|debugconfigs	untrusteds$show untrusted configuration optionss
exp-all-knowns+show all known config option (EXPERIMENTAL)sedit user config�localsedit repository configssources"show source of configuration valuesshareds3edit shared source repository config (EXPERIMENTAL)s
non-shareds%edit non shared config (EXPERIMENTAL)�globalsedit global configs[-u] [NAME]...)rH�optionalrepor�c
���[R"XU5nUb[R"XU5$URS5 [R"X5 [R
"UUU[R"U5[URS55[URS55[UR=(d URS55S9nU(agg)a�show combined config settings from all hgrc files

With no arguments, print names and values of all config items.

With one argument of the form section.name, print just the value
of that config item.

With multiple arguments, print names and values of all config
items with matching section names or section.names.

With --edit, start an editor on the user-level config file. With
--global, edit the system-wide config file. With --local, edit the
repository-level config file.

With --source, the source (filename and line number) is printed
for each config item.

See :hg:`help config` for more information about config files.

.. container:: verbose

  --non-shared flag is used to edit `.hg/hgrc-not-shared` config file.
  This file is not shared across shares when in share-safe mode.

  Template:

  The following keywords are supported. See also :hg:`help templates`.

  :name:    String. Config name.
  :source:  String. Filename and line number where the item is defined.
  :value:   String. Config value.

  The --shared flag can be used to edit the config file of shared source
  repository. It only works when you have shared using the experimental
  share safe feature.

Returns 0 on success, 1 if NAME does not exist.

rC�	untrusted�
exp_all_knownrQ)�
value_filters�formatter_optionsr~�	all_known�show_sourcerr)�config_command�find_edit_level�edit_configr��show_component�show_configr+rer�rOr�)rVrW�valuesrX�
edit_level�matcheds      r[�configr��s���Z �/�/��$�?�J����)�)�"�J�?�?��H�H�Y���!�!�"�+��(�(�
���"�.�.�t�4��t�x�x��,�-��t�x�x��0�1�����;����(�);�<��G���r>scontinuec��URS5n[R"U5nU(d[R"[S55eUR(d9[R"[S5UR-UR5S9eU(a(UR[S5UR-5 gUR
X5$)z�resumes an interrupted operation (EXPERIMENTAL)

Finishes a multistep operation like graft, histedit, rebase, merge,
and unshelve if they are in an interrupted state.

use --dry-run/-n to dry run the command.
rKrLs1%s in progress but does not support 'hg continue'rMs %s in progress, will be resumed
N)
rOrrPrrQr�continuefuncrT�continuemsgrU)rVrWrXrY�	contstates     r[�continuecmdr�^	s����X�X�i�
 �F��*�*�4�0�I�����q�!<�=�>�>��!�!�����F�G��$�$�&��&�&�(�
�	
��
�	�	�!�8�9�Y�=N�=N�O�P���!�!�"�+�+r>scopy|cpsforgets#unmark a destination file as copiedsafters'record a copy that has already occurredsat-revs4(un)mark copies in the given revision (EXPERIMENTAL)s+forcibly copy over an existing managed files/[OPTION]... (SOURCE... DEST | --forget DEST...)c
��SnURS5nU(a=[R"X5nUR5bSnUR5US'UR	5 U"U5 [
R"XU[R"U55sSSS5 sSSS5 $!,(df   O=fSSS5 g!,(df   g=f)a�mark files as copied for the next commit

Mark dest as having copies of source files. If dest is a
directory, copies are put in that directory. If dest is a file,
the source must be a single file.

By default, this command copies the contents of files as they
exist in the working directory. If invoked with -A/--after, the
operation is recorded, but no copying is performed.

To undo marking a destination file as copied, use --forget. With that
option, all given (positional) arguments are unmarked as copies. The
destination file(s) will be left in place (still tracked). Note that
:hg:`copy --forget` behaves the same way as :hg:`rename --forget`.

This command takes effect with the next commit by default.

Returns 0 on success, 1 if errors are encountered.
c�8�URRU5$r��rbrc�rWs r[r��copy.<locals>.<lambda>�	���4�=�=�7�7��=r>�at_revNc�,�[R"5$r��r4�nullcontextmanagerr�s r[r�copy.<locals>.context�	����.�.�0�0r>�	rOr#r�r�rar�copyr+re�rVrWrhrXrr�r�s       r[r�r�~	s���Z>�G�
�(�(�8�
�C�
��"�"�4�-���7�7�9� �
1�!�W�W�Y�D��N�	
����w�t�}��|�|�B�d�H�,@�,@��,F�G�%�}���}�}�����s$�)	C�2,B1�	C�1
B?	�;C�
Cs
debugcommandss	[COMMAND])rHrAc��[[R55HUupURS5SnSR	USVs/sHoDSPM	 sn5nURSX4-5 MW gs snf)z'list all available commands and options�|r�, rs%s: %s
N)r��table�items�splitr�r�)rVr��args�valsr�rXs      r[rr�	sf���E�K�K�M�*�	���i�i��o�a� ���z�z��a��1��A�Q�4��1�2��
�����{�*�+�+��1s�	A8
s
debugcompletesoptionssshow the command optionss[-o] CMDc���URS5(a�/n[/nU(a2[R"U[S5upVURUS5 UHOnUHFnSUS;aMUS(aURSUS-5 URSUS-5 MH MQ UR
S	S
RU5-5 g[R"U[5up�UR(a2U	R5Vs/sHnSRUS5PM n	nUR
S	S
R[U	55-5 gs snf)
z=returns the completion list associated with the given command�optionsFrs(DEPRECATED)r�rs-%ss--%sr�r�Nr�)rO�
globaloptsr�findcmdr�r�r�r��findpossible�verboser�r�)rVr�rXr��otables�aliases�entryr��o�cmdlist�unused_allcmdsr�s            r[�
debugcompleter��	s���x�x�	������,���$�_�_�S�%��?�N�G��N�N�5��8�$��A���"�a��d�*���Q�4��N�N�6�A�a�D�=�1����w��1��~�.���	����5�:�:�g�.�.�/��%�2�2�3��>��G�	�z�z�,3�N�N�,<�=�,<�q�4�9�9�Q�q�T�?�,<��=��H�H�W�u�z�z�&��/�2�
2�3��>s�E�diffsrevision (DEPRECATED)�fromsrevision to diff fromsREV1�tosrevision to diff tosREV2�changeschange made by revisionsignore-changes-from-ancestorssDonly compare the change made by the selected revision (EXPERIMENTAL)s<[OPTION]... ([-c REV] | [--from REV1] [--to REV2]) [FILE]...)rHrIr]r�c
��[R"USS5 [R"U5nUR	S5nUR	S5nUR	S5nUR	S5nUR	S5nUR	S5n	UR	S	5n
[R
"USSS/5 [R
"USSS/5 U(aF[R"X/S
5n[R"XS5n[R"U5nO�U(dU(aK[R"X/U/-S
5n[R"XS5n[R"XS5nO/[R"XS
5n[R"X5up�U
(a�UR5UR5:wa�UR5n
UR5n[R"U5nUR!U5 SS
0nUR#US5 UR%5 [&R("UU/SQSSUU
S9 SSS5 SSS5 UR+UR-5S9nU	(aUnUnOUnUn[.R0"X5n[R2"X�U5nUR5U5nUR7S5 [R8"UUUUUUUUR	S5UR	S5S9	 g!,(df   N�=f!,(df   N�=f)aldiff repository (or selected files)

Show differences between revisions for the specified files.

Differences between files are shown using the unified diff format.

.. note::

   :hg:`diff` may generate unexpected results for merges, as it will
   default to comparing against the working directory's first
   parent changeset if no revisions are specified.  To diff against the
   conflict regions, you can use `--config diff.merge=yes`.

By default, the working directory files are compared to its first parent. To
see the differences from another revision, use --from. To see the difference
to another revision, use --to. For example, :hg:`diff --from .^` will show
the differences from the working copy's grandparent to the working copy,
:hg:`diff --to .` will show the diff from the working copy to its parent
(i.e. the reverse of the default), and :hg:`diff --from 1.0 --to 1.2` will
show the diff between those two revisions.

Alternatively you can specify -c/--change with a revision to see the changes
in that changeset relative to its first parent (i.e. :hg:`diff -c 42` is
equivalent to :hg:`diff --from 42^ --to 42`)

Without the -a/--text option, diff will avoid generating diffs of
files it detects as binary. With -a, diff will generate a diff
anyway, probably with undesirable results.

Use the -g/--git option to generate diffs in the git extended diff
format. For more information, read :hg:`help diffs`.

.. container:: verbose

  Examples:

  - compare a file in the current working directory to its parent::

      hg diff foo.c

  - compare two historical versions of a directory, with rename info::

      hg diff --git --from 1.0 --to 1.2 lib/

  - get change stats relative to the last change on some date::

      hg diff --stat --from "date('may 2')"

  - diff all newly-added files that contain a keyword::

      hg diff "set:added() and grep(GNU)"

  - compare a revision and its parents::

      hg diff -c 9353                  # compare against first parent
      hg diff --from 9353^ --to 9353   # same using revset syntax
      hg diff --from 9353^2 --to 9353  # compare against the second parent

Returns 0 on success.
r��changersr�r�r��statsreversesignore_changes_from_ancestorsr�Nr;s#internal:merge3-lie-about-conflictssobslog-diff)r�sparent-of-tosparent-of-fromT)�labelsr��branchmerge�wc�ancestor)r�r��subrepos�root)ry�listsubreposr')rr�r+rerOrQr/r�r#r�r�diff_parent�revpairr��
contextmod�overlayworkingctx�setbaser[�silentr\�_update�tomemctx�descriptionr)�diffalloptsrd�narrowmatchr��diffordiffstat)rVrWrhrXr�r��from_rev�to_revryr��
patch_only�ctx2�ctx1�old_base�new_base�new_ctx�configoverrides�ctxleft�ctxrightr�ris                     r[�diffr��	s���p�!�!�$��x�8�����%�D��8�8�F��D�
�X�X�i�
 �F��x�x�� �H�
�X�X�e�_�F��8�8�G��D��h�h�z�"�G����:�;�J��(�(��w���8K�L��(�(��u�v�y�6I�J�
��)�)�$��)�D���#�#�D�$�7���#�#�D�)��	�V��)�)��*��x�'��
���#�#�D�D�9���#�#�D�$�7���)�)�$�i�@���'�'��3�
���d�g�g�i�4�7�7�9�,��7�7�9���7�7�9���.�.�t�4�������"�$J�
���
�
���
?�����������
� ��!�
�BM�
?����T�%5�%5�%7��8������������ � ��*�H��
�
�d�$�'�A������A��H�H�W�����
�����	�
��X�X�k�*�
�X�X�g�
�
�7BM���
?�
?�s$�5L;�L*�#L;�*
L8	�4L;�;
M	�export�Br�s/export changes only reachable by given bookmarksBOOKMARKs
switch-parentsdiff against the second parentsrevisions to exports*[OPTION]... [-o OUTFILESPEC] [-r] [REV]...)rHrIr�c�0�[R"U5nURS5nU[URS/55-
n[R
"USS5 U(aHXAR;a"[R"[S5U-5e[R"X5nO7U(dS/n[R"XS5n[R"X5nU(d[R"[S55e[U5S:�aUR![S55 OUR![S	55 URS
5n[R""U5(aSnU(a[$R&"USU5nO#UR)S5 UR%SU5nU [R*"UUUUURS
5[,R."X5S9 SSS5 g!,(df   g=f)a)	dump the header and diffs for one or more changesets

Print the changeset header and diffs for one or more revisions.
If no revision is given, the parent of the working directory is used.

The information shown in the changeset header is: author, date,
branch name (if non-default), changeset hash, parent(s) and commit
comment.

.. note::

   :hg:`export` may generate unexpected diff output for merge
   changesets, as it will compare the merge changeset against its
   first parent only.

Output may be to a file, in which case the name of the file is
given using a template string. See :hg:`help templates`. In addition
to the common template keywords, the following formatting rules are
supported:

:``%%``: literal "%" character
:``%H``: changeset hash (40 hexadecimal digits)
:``%N``: number of patches being generated
:``%R``: changeset revision number
:``%b``: basename of the exporting repository
:``%h``: short-form changeset hash (12 hexadecimal digits)
:``%m``: first line of the commit message (only alphanumeric characters)
:``%n``: zero-padded sequence number, starting at 1
:``%r``: zero-padded changeset revision number
:``\``: literal "\" character

Without the -a/--text option, export will avoid generating diffs
of files it detects as binary. With -a, export will generate a
diff anyway, probably with undesirable results.

With -B/--bookmark changesets reachable by the given bookmark are
selected.

Use the -g/--git option to generate diffs in the git extended diff
format. See :hg:`help diffs` for more information.

With the --switch-parent option, the diff will be against the
second parent. It can be useful to review a merge.

.. container:: verbose

  Template:

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

  :diff:    String. Diff content.
  :parents: List of strings. Parent nodes of the changeset.

  Examples:

  - use export and import to transplant a bugfix to the current
    branch::

      hg export -r 9353 | hg import -

  - export all the changesets between two revisions to a file with
    rename information::

      hg export --git -r 123:150 > changes.txt

  - split outgoing changes into a series of patches with
    descriptive names::

      hg export -r "outgoing()" -o "%n-%m.patch"

Returns 0 on success.
r�rssbookmark '%s' not foundr{r�s&export requires at least one changesetrsexporting patches:
sexporting patch:
r8r>r�s
switch_parent)r@�
switch_parentrXN)r+rerOr�rr�r�rrSrr/�bookmarkrevsr�r#r�r��noter<rr=r��exportr)r�)rVrWr�rXr�r�r@rs        r[r�r��
s���J����%�D��x�x��$�H��%������,�-�-�J��!�!�$���<���?�?�*��"�"�1�%?�#@�8�#K�L�L��#�#�D�3�����J��)�)�$�I�F���"�"�4�4������q�!J�K�L�L�
�4�y�1�}�
����)�*�+�
����'�(�)����)�$�J����z�*�*��
��
�
$�
$�R��D�
9��
�����
�\�\�)�T�
*��	�������!��(�(�#3�4��"�"�2�,�
	
�
���s�=H�
Hrs%search the repository as it is in REV�0�print0s*end filenames with NUL, for use with xargsc�:�[R"U5nURS5nU(a[R"X/S5n[
R"XS5nSnURS5(aSnSU-n[R"XRU5nURS5 [R"UR5S	S
9n	URSU5n
[R"XX�X�URS55sSSS5 $!,(df   g=f)a�list tracked files

Print files under Mercurial control in the working directory or
specified revision for given files (excluding removed files).
Files can be specified as filenames or filesets.

If no files are given to match, this command prints the names
of all files under Mercurial control.

.. container:: verbose

  Template:

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

  :flags:   String. Character denoting file's symlink and executable bits.
  :path:    String. Repository-absolute path of the file.
  :size:    Integer. Size of the file in bytes.

  Examples:

  - list all files under the current directory::

      hg files .

  - shows sizes and flags for current revision::

      hg files -vr .

  - list all files named README::

      hg files -I "**/README"

  - list all binary files::

      hg files "set:binary()"

  - find files containing a regular expression::

      hg files "set:grep('bob')"

  - search tracked file contents with xargs and grep::

      hg files -0 | xargs -0 grep foo

See :hg:`help patterns` and :hg:`help filesets` for more information
on specifying file patterns.

Returns 0 if a match is found, 1 otherwise.

rsr�Nr�r��r�rTr_r�)r+rerOr/r�r#r�rdr�rfrWrr�files)rVrWrhrXr�r�r�r�rirjrs           r[r�r�s���\����%�D�
�(�(�6�
�C�
��)�)�$��y�A��
�
�
�t�$�
/�C�
�C��x�x�	�����
�#�+�C��
�
�c��&�A��H�H�X���"�"�3�8�8�:�4�H�H�	���h��	%���}�}��Q�"�4�8�8�K�+@�
�
&�	%�	%�s�(D�
Dc
�:�U(d[R"[S55eUR5 URRU5 [R"USU[R"U55nURS5URS5pe[R"USS9n[R"UUUSUSUUS	9S
nSSS5 SSS5 W=(a S=(d S
$!,(df   N*=f!,(df   N3=f)atforget the specified files on the next commit

Mark the specified files so they will no longer be tracked
after the next commit.

This only removes files from the current branch, not from the
entire project history, and it does not delete them from the
working directory.

To delete the file from the working directory, see :hg:`remove`.

To undo a forget before the next commit, see :hg:`add`.

.. container:: verbose

  Examples:

  - forget newly-added binary files::

      hg forget "set:added() and binary()"

  - forget files that would be excluded by .hgignore::

      hg forget "set:hgignore()"

Returns 0 on success.
�no files specifiedNrKr^Tr_r>F)rrj�explicitonlyrYr^rr)rrSrrarbrcr/rdr+rerOrfr�forget)	rVrWrhrXrirYr^rjrks	         r[r�r�s���R����q�!6�7�8�8�	
����t�}�}�3�3�D�9��M�M�$�t�*�d�H�,@�,@��,F�G��"�h�h�y�1�4�8�8�M�3J���&�&�t��F���>�>���
�����#�	
��	
��	:���>���Q��:�9����s$�D�BC;�D�;
D		�D�
Dsgraftsrevisions to grafts3base revision when doing the graft merge (ADVANCED)s3graft to this destination, in-memory (EXPERIMENTAL)sresume interrupted graftsstopsstop interrupted graftsabort interrupted graft�logs append graft info to log messages9don't commit, just apply the changes in working directorysforce graft�Dscurrentdates&record the current date as commit datescurrentusers$record the current user as committers[OPTION]... [-r REV]... REV...c��UR5 [R"X/UQ70UD6sSSS5 $!,(df   g=f)a�copy changes from other branches onto the current branch

This command uses Mercurial's merge logic to copy individual
changes from other branches without merging branches in the
history graph. This is sometimes known as 'backporting' or
'cherry-picking'. By default, graft will copy user, date, and
description from the source changesets.

Changesets that are ancestors of the current revision, that have
already been grafted, or that are merges will be skipped.

If --log is specified, log messages will have a comment appended
of the form::

  (grafted from CHANGESETHASH)

If --force is specified, revisions will be grafted even if they
are already ancestors of, or have been grafted to, the destination.
This is useful when the revisions have since been backed out.

If a graft merge results in conflicts, the graft process is
interrupted so that the current merge can be manually resolved.
Once all conflicts are addressed, the graft process can be
continued with the -c/--continue option.

The -c/--continue option reapplies all the earlier options.

.. container:: verbose

  The --base option exposes more of how graft internally uses merge with a
  custom base revision. --base can be used to specify another ancestor than
  the first and only parent.

  The command::

    hg graft -r 345 --base 234

  is thus pretty much the same as::

    hg diff --from 234 --to 345 | hg import

  but using merge to resolve conflicts and track moved files.

  The result of a merge can thus be backported as a single commit by
  specifying one of the merge parents as base, and thus effectively
  grafting the changes from the other side.

  It is also possible to collapse multiple changesets and clean up history
  by specifying another ancestor as base, much like rebase --collapse
  --keep.

  The commit message can be tweaked after the fact using commit --amend .

  For using non-ancestors as the base to backout changes, see the backout
  command and the hidden --parent option.

.. container:: verbose

    The experimental --to option allows grafting a revision in-memory,
    independent of the working copy. Merge conflicts are not currently
    supported, and the operation will be aborted if the configured tool
    cannot handle the conflicts that might be encountered.

    As the operation is performed in-memory, the on-disk files will not be
    modified, and some hooks might not be run.

.. container:: verbose

  Examples:

  - copy a single change to the stable branch and edit its description::

      hg update stable
      hg graft --edit 9393

  - graft a range of changesets with one exception, updating dates::

      hg graft -D "2085::2093 and not 2091"

  - continue a graft after resolving conflicts::

      hg graft -c

  - show the source of a grafted changeset::

      hg log --debug -r .

  - show revisions sorted by date::

      hg log -r "sort(all(), date)"

  - backport the result of a merge as a single commit::

      hg graft -r 123 --base 123^

  - land a feature branch as one changeset::

      hg up -cr default
      hg graft -r featureX --base "ancestor('featureX', 'default')"

See :hg:`help revisions` for more about specifying revisions.

Returns 0 on successful completion, 1 if there are unresolved files.
N)ra�
graft_impl�	cmd_graft)rVrWr�rXs    r[r7r7�s0��r
�����#�#�B�<�t�<�t�<�
����	�5�
A�
graftstates6use 'hg graft --continue' or 'hg graft --stop' to stop)r��	clearable�stopflag�continueflagrR�cmdhint�grepsend fields with NULsan alias to --diff (DEPRECATED)sEsearch revision differences for when the pattern was added or removedsCfollow changeset history, or file history across copies and renamessignore-casesignore case when matchingsfiles-with-matchess-print only filenames and revisions that matchsprint matching line numberss*search files changed within revision ranges	all-filess>include all files in the changeset while grepping (DEPRECATED)s&[--diff] [OPTION]... PATTERN [FILE]...c�&^^^^^^^^^^�[R"TSSS/5 TRS5=(d TRS5mTRS5nTRS5cT(dSTS'TRS5=(a3 TRS5(+=(a TRS5(+mTRS5nT(aS/TS'[RnTRS	5(aU[R
-n[RRX'5mSummTRS
5(aS=mm[R"TUTUTUS9n	U	Rm[ R""U5mUUUUUUUUU4	Sjn
U4SjmSn[$R&"U[(R*"T5TSTSTSUUU(+S9n[$R,"X5up�TR/S5 TR1S[(R*"T55nU	R3X�5HZunnnnU
"UUUUU5nU=(d UnU(dM(T(aM1U(aM:U	R5UUR755 M\ UR95 U(+$![Ra;nTR[S
5[R"U5-5 SnAgSnAff=f)aKsearch for a pattern in specified files

Search the working directory or revision history for a regular
expression in the specified files for the entire repository.

By default, grep searches the repository files in the working
directory and prints the files where it finds a match. To specify
historical revisions instead of the working directory, use the
--rev flag.

To search instead historical revision differences that contains a
change in match status ("-" for a match that becomes a non-match,
or "+" for a non-match that becomes a match), use the --diff flag.

PATTERN can be any Python (roughly Perl-compatible) regular
expression.

If no FILEs are specified and the --rev flag isn't supplied, all
files in the working directory are searched. When using the --rev
flag and specifying FILEs, use the --follow argument to also
follow the specified FILEs across renames and copies.

.. container:: verbose

  Template:

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

  :change:  String. Character denoting insertion ``+`` or removal ``-``.
            Available if ``--diff`` is specified.
  :lineno:  Integer. Line number of the match.
  :path:    String. Repository-absolute path of the file.
  :texts:   List of text chunks.

  And each entry of ``{texts}`` provides the following sub-keywords.

  :matched: Boolean. True if the chunk matches the specified pattern.
  :text:    String. Chunk content.

  See :hg:`help templates.operators` for the list expansion syntax.

Returns 0 if a match is found, 1 otherwise.

�	all_filesrr�r�NTr�swdir()�ignore_cases grep: invalid match pattern: %s
r)r�r��print0r�)r�r�r�c
��>	^^�[R"T5nUR5(a
TRnO[R
nTR(aSnOSnSn[RUUU4Sj5n	SS0n
T(a[R"X45nOUVs/sHnSU4PM	 nnUGH$up�UR5 URTS9 URUR[R"T55TS	9 UR!T"T5S
S9 SS
UT(+S4SS
UR"TR%S5S4/nT(aUR'SSU
SU
S:XaSOS45 UR)SSU"TR+55TR%S5S4SSUR-TR/5U5TR%S5S4/5 UHLunnnnnU(aUR!TSS9 U
R%X�5nUSU--nUR1UUUUUS9 MN TR%S5(ddUR!TSS9 TR%S5(d'U	"5(aUR![3S55 OT"UR5SSS 9U5 UR!T5 SnTR%S5(dGM$ U$ U$s snf)!Ns%Y-%m-%ds%a %b %d %H:%M:%S %Y %1%2Fc��>�T"T5n[R"URTRT555$![R
a TTR
5s$f=fr�)r;�binary�read�filenoder�WdirUnsupportedr�)�flogr�r��getfiles ���r[r��%grep.<locals>.display.<locals>.binary�s\����2�;�D�
*�!�(�(����3�<�<��3C�)D�E�E���(�(�
*��2�w�'�'�)�)�
*�s�3?�'A)�(A)s
linenumberr�r>r�)r�r�s
grep.filenamer�rsr��line_numberr�r�T�+sgrep.inserted s
grep.deleted rxr�r|r�sgrep.sepsgrep.%s�files_with_matchesr�s Binary file matchesstextss{text}r�)r/r�r�r�r+r�r�r4r��grepmod�difflinestatesr�rr�r�r�r��linenumrOr�r�r��
formatdater�r�rr�)rr�r��pstates�statesr��
formatuser�datefmt�foundr��fieldnamemap�iterrr��cols�namer�r��cond�extra_label�fieldr�r��displaymatches�eolrrX�	plaingrepr�rVrjs ``                   ���������r[�display�grep.<locals>.display�s�����n�n�S�!��
�:�:�<�<����J�!�)�)�J�
�8�8�!�G�2�G���	
���	*�
�	*�&�y�1����)�)�'�:�D�&,�-�f��S�!�H�f�D�-��I�F��L�L�N��J�J�3�J���G�G����G�O�O�C�$8�9��G�C��H�H�X�b�\�)9�H�:�����]�C�8�!���I�I��H�H�]�+���	�D�����!����!�T�>�*�-��
�
�K�K� ��"�3�8�8�:�.�����(��� ���
�
�c�h�h�j�'�:�����(����
�$7;�2��c�4��{���H�H�S��H�4�$�(�(��4��#�z�D�'8�9�����T�5�#�t�5��A�7;��8�8�0�1�1�����K��0��x�x��'�'�F�H�H��H�H�Q�6�7�8�"�2�9�9�X�I�9�#F��J��H�H�S�M��E��x�x�,�-�-����}�|���.s�%K"c�>�SnURT5H�up4X#:a>UR5 URSSURX#5 UR	SS9 UR5 URSSURX4SS9 UR	SS9 UnM� U[UR5:a?UR5 URSSURUS5 UR	SS9 UR
5 g)	Nrrvr�F)r�s
grep.matchr�T)�findposr�r�rr�r�r�)rrrrwrH�regexps     �r[r�grep.<locals>.displaymatchesH
s����
���I�I�f�%�D�A��u���������%������5������&��L�L�N��H�H�W�e�Q�V�V�A�[�
�H�F��G�G�D�G�!��A�&�
�s�1�6�6�{�?��L�L�N��H�H�W�e�Q�V�V�A�B�Z�0��G�G�E�G�"�
���r>FrFrG)rhrX�revspec�include_pats�exclude_patsr��force_changelog_traversal�filter_revisions_by_patsr�)rrQrO�re�M�Ir4�compilerr�rr;�forcebytestrr�grepsearcher�_getfiler/rfr#�walkoptsr+re�
makewalkerr�r�searchfiles�skipfiler�r�)rVrW�patternrhrXr�r��reflags�inst�searcherrr�woptsr��makefilematcherrr�r�rr
r�r�rrrrrr�rjs`   `                @@@@@@@@r[rrds�����N�(�(��{�U�F�O�L��8�8�E�?�.�d�h�h�v�.�D�
�X�X�h�
�F��x�x���$�T� ��[�������P�d�h�h�u�o�"5�P�d�h�h�x�>P�:P������%�I�� �k��U���d�d�G��x�x�
����2�4�4����������2���H�C���x�x�������c��#�#�
�D�&�I�D���H����G��"�"�4�(�H�W�W�r�"
�E����
�
�
!�
!�$�
'��U���)�_��)�_��"+�%.��	
�E�'�1�1�$�>��D��H�H�W��	���g�x�3�3�D�9�	:�B�$,�$8�$8��$O� ��C��&��B��C��&�1���
����1�T�T�)�)����b�#�'�'�)�,�	%P�
�F�F�H��9���g�8�8��
���
�2�3��%�%�d�+�
,�	
����s� K�L�1L�L�headss1show only heads which are descendants of STARTREVsSTARTREVstoposshow topological heads onlys)show active branchheads only (DEPRECATED)s#show normal and closed branch headss[-ct] [-r STARTREV] [REV]...c	��SnURS5nU(a=[R"X/S5n[R"XS5R5nURS5(a$UR
U5Vs/sHoaUPM	 nnOP/nUR5H&nXqRX�URS55-
nM( UVs/sHoaUPM	 nnU(a][R"X5V	s1sHo�U	R5iM n
n	UVs/sHofR5U
;dMUPM nnURS5(a?U(a8UR
U5nUVs/sHofR5U;dMUPM nnU(a�UVs1sHofR5iM nnW
U-
(afSRSX�-
55n
[S	5nURS5(aU[S
5US--
nURUS-U
-5 U(dgURS
5 [USS9n[R "X["R$"U55nUHnUR'U5 M UR)5 gs snfs snfs sn	fs snfs snfs snf)agshow branch heads

With no arguments, show all open branch heads in the repository.
Branch heads are changesets that have no descendants on the
same branch. They are where development generally takes place and
are the usual targets for update and merge operations.

If one or more REVs are given, only open branch heads on the
branches associated with the specified changesets are shown. This
means that you can use :hg:`heads .` to see the heads on the
currently checked-out branch.

If -c/--closed is specified, also show branch heads marked closed
(see :hg:`commit --close-branch`).

If STARTREV is specified, only those heads that are descendants of
STARTREV will be displayed.

If -t/--topo is specified, named branch mechanics will be ignored and only
topological heads (changesets with no children) will be shown.

Returns 0 if matching heads are found, 1 if not.
Nr�r��topor�r�r�c3�$# �UHov� M g7fr�r�)r��bs  r[r��heads.<locals>.<genexpr>�
s���!B�-A��!�-A�s�s)no open branch heads found on branches %ss (started at %s)r�rr7c�$�UR5*$r�r�r�s r[r��heads.<locals>.<lambda>�
s��!�%�%�'�
r>)r�)rOr/r�r#r�r�r�r�rYr�rXr�rr�r�r�r�r+re�show�close)rVrW�
branchrevsrX�startr�r�r�rXr�r��dagheads�	haveheads�headlessrnr�r�s                 r[r�r�s
sX��b
�E�
�(�(�5�/�C�
��)�)�$��y�A���$�$�T��5�:�:�<���x�x����"&�*�*�U�"3�4�"3�Q�a��"3��4�����n�n�&�F��%�%�f�T�X�X�h�5G�H�H�E�'�"'�(�%�Q�a��%��(��&0�&9�&9�$�&K�
�&K���G�N�N��&K�	�
�"�<�E�q�X�X�Z�8�%;��E��<��x�x����j��:�:�e�$��!�:�E�q�V�V�X��%9��E��:��).�/��A�X�X�Z��	�/��i���z�z�!B�X�-A�!B�B�H��@�A�C��x�x�����q�,�-��U��;�;���G�G�S�5�[�H�,�-����H�H�X���5�2�3�E��-�-�
�(�&�&�t�,��I������s���
�O�O���I5��
)��
��=��;��0s0�J+�J0�J5�#J:�>J:�8J?�J?�&Ks	extensionsshow only help for extensionssshow only help for commands�kskeywordsshow topics matching keywordssystems"show help for specific platform(s)sPLATFORMs[-eck] [-s PLATFORM] [TOPIC])rHrAr�c��URS5=(d /n[U5S:Xa�[RR	S5(aURS5 O�[RS:XaURS5 Od[RS:XaURS5 O>URS5 UR[RR
55 UR(aURS	5 [R[n[R"XU4S
U0UD6nURS5 URU5 g)
z�show help for a given topic or a help overview

With no arguments, print a list of commands with short help messages.

Given a topic, extension, or command name, print help for that
topic.

Returns 0 if successful.
r�rswinswindowssOpenVMSsvmssplan9sunixrB�keeprFN)rOr�r+�sysplatform�
startswithr�rr��sys�modules�__name__r!�
formattedhelpr�r�)rVrrXrH�commands�	formatteds      r[�help_rQ�
s���<�8�8�H��#��D�
�4�y�A�~����*�*�6�2�2��K�K�
�#�
�
!�
!�Z�
/��K�K���
�
!�
!�X�
-��K�K��!��K�K�� ��K�K��,�,�2�2�4�5�	�z�z����J���{�{�8�$�H��"�"�2��I�D�I�D�I�I��H�H�W���H�H�Y�r>sidentify|idsidentify the specified revisionsnumsshow local revision numbersidsshow global revision idsshow branch�tagss	show tagsr�sshow bookmarkss[-nibtB] [-r REV] [SOURCE]c	��
^^�[R"U	5n	U(d&U(d[R"[	S55eU=(d U=(d U=(d U=(d U(+n
/n/nSmU(ap[
R"SX5n
[R"U=(d UX�5mTR5nU
R/4n[R"UTUS5up�URSU	5nUR5 U(GdU(dU(dU(a[R"[	S55eU(dU(aUSnU(dSnTRU5mURT5nU
(dU(aU/nUR!US9 ["R$UU4Sj5nUR'5(agU(aUR)U"55 GO�U
(a?UR*(d.S	R-U"55nU(aUR/U5 GO;UR![1T5S
9 U(dSUR35;a"UR!UR5U"5SS
9S9 GO�U(a[6R8"X/S5n[:R<"XS5nUR?5GczUSnURA5n/nUH"nUR)URC55 M$ SnURESSSS9(aSnUR!US9 UVs/sH"nURURG55PM$ nnU
(dU(aSSR-U5U4-/nUR!SSR-U5U4-S9 U(aHUVs/sHnSUR?5-PM nnUR/SSR-U5U4-5 UR!UR5UVs/sH"nURURG55PM$ snSS
9S9 O�URURG55nU
(dU(aU/nUR!US9 U(a3UR/[RH"UR?555 URC5nU
(a�UR*(d�UR5nUS:waUR/SU-5 S	R-U5nU(aUR/U5 S	R-URK55nU(aUR/U5 OdU(aUR/UR55 U(aUR)U5 U(aUR)URK55 UR!UR15S
9 UR!UR5S9 UR!UR5USSS9S 9 UR!UR5URK5SS
9S9 URMUS!9 UROS"S#R-U5-5 URQ5 T(aTRS5 ggs snfs snfs snf!T(aTRS5 ff=f)$a�identify the working directory or specified revision

Print a summary identifying the repository state at REV using one or
two parent hash identifiers, followed by a "+" if the working
directory has uncommitted changes, the branch name (if not default),
a list of tags, and a list of bookmarks.

When REV is not given, print a summary of the current state of the
repository including the working directory. Specify -r. to get information
of the working directory parent without scanning uncommitted changes.

Specifying a path to a repository root or Mercurial bundle will
cause lookup to operate on that repository/bundle.

.. container:: verbose

  Template:

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

  :dirty:   String. Character ``+`` denoting if the working directory has
            uncommitted changes.
  :id:      String. One or two nodes, optionally followed by ``+``.
  :parents: List of strings. Parent nodes of the changeset.

  Examples:

  - generate a build identifier for the working directory::

      hg id --id > build-id.dat

  - find the revision corresponding to a tag::

      hg id -n -r 1.3

  - check the most recent revision of a remote repository::

      hg id -r tip https://www.mercurial-scm.org/repo/hg/

See :hg:`log` for generating more information about specific revisions,
including full hash identifiers.

Returns 0 if successful.
�5there is no Mercurial repository here (.hg not found)Nsidentifys3can't query remote revision number, branch, or tagsrrP)�idc��>�/nSTRS5;aE[T5nTRS5R5VVs/sHup#X1:XdMUPM nnn[U5$s snnf)Nr��
namespaces)�listkeysrr�r�)�bms�hexremoterev�bm�bmrr�	remoterevs    ��r[�getbms�identify.<locals>.getbmsvso������4�=�=��#?�?�#&�y�>�L�(,�}�}�\�'B�'H�'H�'J��'J�G�B��.��'J����c�{�"��
s�A)�A)�/)r�r�r�)r)r
r�r>TF)rr$rXr)�dirty�%s%sr�r�)rUr�s(%s))rX�tagr�)rr�)r3r�r�r�)*r+rerrSrr<�get_unique_pull_path_objr"r�localrXrrr�rWr�r�r4r�r�r�r�r�r�rr��
formatlistr/r�r#r�r�rUr3rar�r�r
rr�r�r@)rVrWrQr��numrUrXr3r
rX�defaultr:r�r�r�r+r�hexrevr^r[r�rU�taglistrra�	hexoutput�	numoutputr;r�rr]s                             @@r[�identifyrmsB���V����%�D������
�F�G�
�	
��;�"�;��;�$�;�)�<�G�
�F�
�D��D�A���3�3�K��L�D��7�7�4�:�2�t�2�D��:�:�<�D����R�(�H��-�-�d�D�(�D�I�N�D�
�\�\�+�t�
,��
������f���&�&��L�M����4��1�g��������C�(�I��Z�Z�	�*�F��"� ����G�G�v�G��
�^�^�
#��
#��z�z�|�|���M�M�&�(�+��R�X�X����6�8�,�B���
�
�b�)�����S��^��,������
� =��G�G�b�m�m�F�H�;�m�&O�G�P����1�1�$��y�I���&�&�t�$�7�C��w�w�y� ��4�j���+�+�-���� �A��N�N�1�6�6�8�,�!����9�9�T��u�9�E� �E����e��$�;B�C�7�a�R�Z�Z�����1�7�	�C��b�%����9�)=�u�(E�E�F�F����7�d�i�i�	�&:�E�%B�B��C��:A� B�'�Q�������'�I� B��M�M�'�T�Y�Y�y�-A�5�,I�"I�J�����M�M�7>�?�w�!����A�F�F�H�-�w�?�g�*�����J�J�s�x�x�z�2�	��b�'�[�F����9��%���M�M�(�"2�"2�3�7�7�9�"=�>��(�(�*���r�x�x��J�J�L���
�?��M�M�'�A�+�.��I�I�g�&����M�M�!�$��Y�Y�s�}�}��/����M�M�"�%����M�M�#�*�*�,�/���M�M�'�*���M�M�#�-�-�/�2��G�G�����G�#��G�G�3�:�:�<�G�(��G�G����w�V���F�G�G��G�G�b�m�m�C�M�M�O�+�m�N�G�O��J�J�3�J��
����4�9�9�V�,�,�-�
������J�J�L���sD��!C��
@��\��J�J�L��s:�8K[�)[�5A[�
[
�'A[�()[�I[�[�[1simport|patchsstrips]directory strip option for patch. This has the same meaning as the corresponding patch optionsNUMsbase path (DEPRECATED)sPATHs;skip check for outstanding uncommitted changes (DEPRECATED)s/don't commit, just update the working directorysbypasss2apply patch without touching the working directoryspartialscommit even if some hunks fails"abort if patch would apply lossilysapply patch to subdirectorys
import-branchs8use any branch information in patch (implied by --exact)s[OPTION]... PATCH...c��^�[R"USSS/5 [R"USSS/5 U(d[R"[	S55eU4U-nURS5nU(a[R"U5US'URS5nURS5(+n[URS	5=(d S
5nUS
:dUS:�a[R"[	S
55eU(a&U(d[R"[	S55eUSn	/n
S
nTR5 U(aI[R"T5 U(dURS5(d[R"T5 URS5(dTRnU4Sjn
O [Rn[Rn
U"5 U
"5 TSR!5nUGH�nUS:Xa)UR#[	S55 UR$nSnOQ[&R(R+X�5nUR#[	S5U-5 [,R."XSS9nSn[0R2"U5H�n[0R4"UU5n[R6"UTUU[8R:"U5U
[,R<5unnnSSS5 W(aSnUR?US-5 U(dU(aTSR!5nOTW/nW(dM�URA[	S55 URA[	S55 Sn O U(aGM�[R"[	S5U-5e U
(a TRCSR+U
55 SSS5 SSS5 UsSSS5 $![a  [R"[	S55ef=f!,(df   GN4=f!,(df   N`=f!,(df   Ni=f!,(df   g=f) al
import an ordered set of patches

Import a list of patches and commit them individually (unless
--no-commit is specified).

To read a patch from standard input (stdin), use "-" as the patch
name. If a URL is specified, the patch will be downloaded from
there.

Import first applies changes to the working directory (unless
--bypass is specified), import will abort if there are outstanding
changes.

Use --bypass to apply and commit patches directly to the
repository, without affecting the working directory. Without
--exact, patches will be applied on top of the working directory
parent revision.

You can import a patch straight from a mail message. Even patches
as attachments work (to use the body part, it must have type
text/plain or text/x-patch). From and Subject headers of email
message are used as default committer and commit message. All
text/plain body parts before first diff are added to the commit
message.

If the imported patch was generated by :hg:`export`, user and
description from patch override values from message headers and
body. Values given on command line with -m/--message and -u/--user
override these.

If --exact is specified, import will set the working directory to
the parent of each patch before applying it, and will abort if the
resulting changeset has a different ID than the one recorded in
the patch. This will guard against various ways that portable
patch formats and mail systems might fail to transfer Mercurial
data or metadata. See :hg:`bundle` for lossless transmission.

Use --partial to ensure a changeset will be created from the patch
even if some hunks fail to apply. Hunks that fail to apply will be
written to a <target-file>.rej file. Conflicts can then be resolved
by hand before :hg:`commit --amend` is run to update the created
changeset. This flag exists to let people import patches that
partially apply without losing the associated metadata (author,
date, description, ...).

.. note::

   When no hunks apply cleanly, :hg:`import --partial` will create
   an empty changeset, importing only the patch metadata.

With -s/--similarity, hg will attempt to discover renames and
copies in the patch in the same way as :hg:`addremove`.

It is possible to use external patch programs to perform the patch
by setting the ``ui.patch`` configuration option. For the default
internal tool, the fuzz can also be configured via ``patch.fuzz``.
See :hg:`help config` for more information about configuration
files and how to use these options.

See :hg:`help dates` for a list of formats valid for -d/--date.

.. container:: verbose

  Examples:

  - import a traditional patch from a website and detect renames::

      hg import -s 80 http://example.com/bugfix.patch

  - import a changeset from an hgweb server::

      hg import https://www.mercurial-scm.org/repo/hg/rev/5ca8c111e9aa

  - import all the patches in an Unix-style mbox::

      hg import incoming-patches.mbox

  - import patches from stdin::

      hg import -

  - attempt to exactly restore an exported changeset (not always
    possible)::

      hg import --exact proposed-fix.patch

  - use an external tool to apply a patch which is too fuzzy for
    the default internal tool.

      hg import --config ui.patch="patch --merge" fuzzy.patch

  - change the default fuzzing from 2 to a less strict 7

      hg import --config ui.fuzz=7 fuzz.patch

Returns 0 on success, 1 on partial success (see --partial).
r7�bypassrZrrBrs!need at least one patch to importr��
similarityrssimilarity must be a number�ds$similarity must be between 0 and 100s%cannot use --similarity with --bypassr�r�c�&>�TRS5$)Nsimport)rZr�s�r[r��import_.<locals>.<lambda>�s����)�)�)�4r>Nrsapplying patch from stdin
sstdinsapplying %s
F)�
sendacceptTr�spatch applied partially
s1(fix the .rej files and run `hg commit --amend`)
rs%s: no diffs founds
* * *
)"rrQrrSrrOr9rR�float�
ValueErrorrarSrTr3r4r�rUrU�finr%r�r�r"�openpathr)r��extract�tryimportoner+rerar��	write_err�savecommitmessage)rVrW�patch1�patchesrXr�rr�simr��msgsrvr3r�rU�patchurl�	patchfile�haspatch�hunk�	patchdatarnr��rejs `                     r[�import_r��s����j�(�(��k�H�h�/���(�(��w���8J�K�����q�!E�F�G�G��i�'�!�G��8�8�F��D���)�)�$�/��V���H�H�W��E����(�#�
#�F�B��D�H�H�\�*�/�a�0���Q�w�#��)����q�!H�I�J�J�
�6����q�!I�J�K�K���<�D�
�D�
�C�	
������#�#�D�)��D�H�H�W�-�-��%�%�d�+��x�x��$�$��9�9�D�4�B��*�*�D��(�(�B�
�V�R�T��4�j�(�(�*�G�#���t�#��I�I�a� >�?�@� "���I�'�H�!�w�w�|�|�D�;�H��I�I�a� 0�1�H�<�=� "���B�U� K�I� ��!�K�K�	�2�D����r�4�0�I�)0�)=�)=�� �%�#�$�0�0��6� ��H�H�*���T�3�1��#'������e��,���"&�t�*�"4�"4�"6��#'��:�,���s����Q�'C�%D�E�����!:��� ���73�: �x��*�*�1�-B�+C�h�+N�O�O�S$�V��&�&�|�'8�'8��'>�?�]�V�^�w
����B����q�!?�@�A�A�B��J1�0���T��V�V��
��sq�;#P�B!Q(�0Q�8CQ�AP4
�AQ�?Q�!AQ�,Q�4	Q(�*P1�4
Q�>Q�
Q�Q�
Q%	�!Q(�(
Q6sincoming|ins*run even if remote repository is unrelatedsnewest-firstsshow newest record firstsfile to store the bundles intosFILEs'a remote changeset intended to be addedscompare bookmarkss(a specific branch you would like to pulls<[-p] [-n] [-M] [-f] [-r REV]... [--bundle FILENAME] [SOURCE]c
�^^^�[R"T5mTRS5(a;[R"/T5 UUU4Sjn[
R"USTTUTSS9 g[R"TSS/5 TRS	5(a�[R"TTU/5nUH�n[
R"TTU5nS	URS
5;a-TR[S55 UR5  gTR!S5 TR#[S
5[R$"UR&5-5 [(R*"TTXvR,S9UR5 s $ [
R*"TTUT5$!UR5 f=f)a=show new changesets found in source

Show new changesets found in the specified path/URL or the default
pull location. These are the changesets that would have been pulled
by :hg:`pull` at the time you issued this command.

See pull for valid source format details.

.. container:: verbose

  With -B/--bookmarks, the result of bookmark comparison between
  local and remote repositories is displayed. With -v/--verbose,
  status is also displayed for each bookmark like below::

    BM1               01234567890a added
    BM2               1234567890ab advanced
    BM3               234567890abc diverged
    BM4               34567890abcd changed

  The action taken locally when pulling depends on the
  status of each bookmark:

  :``added``: pull will create it
  :``advanced``: pull will update it
  :``diverged``: pull will create a divergent bookmark
  :``changed``: result depends on remote changesets

  From the point of view of pulling behavior, bookmark
  existing only in the remote repository are treated as ``added``,
  even if it is in fact locally deleted.

.. container:: verbose

  For remote repository, using --bundle avoids downloading the
  changesets twice if the incoming is followed by a pull.

  Examples:

  - show incoming changes with patches and full description::

      hg incoming -vp

  - show incoming changes excluding merges, store a bundle::

      hg in -vpM --bundle incoming.hg
      hg pull incoming.hg

  - briefly list changes inside a bundle::

      hg in changes.hg -T "{desc|firstline}\n"

Returns 0 if there are incoming changes, 1 otherwise.
�graphc�>�[R"XT5n[R"TTX2[R5 gr�)r#�	graphrevs�displaygraphr�
asciiedges)r(�chlistr��revdagrXrWrVs    ���r[r�incoming.<locals>.display)s2����)�)�%��>�F��#�#��D�&�X�-@�-@�
r>c��g)Nrr�r�r>r[r��incoming.<locals>.<lambda>/s��ar>T��bufferedrr�r�r�rW�!remote doesn't support bookmarks
sincoming�comparing with %s
)�mode)r+rerOr#�checkunsupportedgraphflagsr"�	_incomingrrQr<�get_pull_pathsrrXr�rr@r�rU�hidepassword�locr
�incoming�bookmarks_mode)rVrWrQrXr�srcsr�r(s`` `    r[r�r��se���n����%�D��x�x�����-�-�b�$�7�	�	���W�i��T�6�4�$�O���(�(��{�Y�K�H��x�x�����%�%�d�B���9���D��G�G�D�$��-�E�
��u�~�~�m�'D�D��G�G�A�C�D�E�����
�����%��	�	��,�-��0D�0D�T�X�X�0N�N��!�)�)���e�*=�*=�����
��"�;�;�r�4���.�.�����
�s�/F,�A+F,�,F>rys![-e CMD] [--remotecmd CMD] [DEST]c��[R"U5n[R"X5n[R
"XUSS9nUR
5 g)a[create a new repository in the given directory

Initialize a new repository in the given directory. If the given
directory does not exist, it will be created.

If no directory is given, the current directory is used.

It is possible to specify an ``ssh://`` URL as the destination.
See :hg:`help urls` for more information.

Returns 0 on success.
T)�createN)r+rer<�get_clone_path_objr"rr@)rVr+rXr�rs     r[�initr�Js?��*����%�D��%�%�b�/�D�
�7�7�2�T�$�/�D��J�J�Lr>�locatesfullpaths-print complete paths from the filesystem roots[OPTION]... [PATTERN]...c��URS5(aSnOSn[R"XRS5S5nSn[R"UU[
R"U5SSS	9nURS
5 UR5c%[URRU55nOURU5n[R"U[U5S9n	UHUn
URS5(a"URURU
5U5 OURU	"U
5U5 S
nMW U$)alocate files matching specific patterns (DEPRECATED)

Print files under Mercurial control in the working directory whose
names match the given patterns.

By default, this command searches all directories in the working
directory. To search just the current directory and its
subdirectories, use "--include .".

If no patterns are given to match, this command prints the names
of all files under Mercurial control in the working directory.

If you want to feed the output of this command into the "xargs"
command, use the -0 option to both this command and "xargs". This
will avoid the problem of "xargs" treating single filenames that
contain whitespace as multiple filenames.

See :hg:`help files` for a more versatile command.

Returns 0 if a match is found, 1 otherwise.
r�r�r�r�Nrsrelglobc��g)NFr�r�s  r[r��locate.<locals>.<lambda>�s��5r>)rhr�r�r_�fullpathr)rOr#r�r/rdr+rer�r�r�rb�matchesrfr�r��wjoin)rVrWrhrXr�r�rvri�filesgenrjrs           r[�locater�es
��b�x�x��������
�
�
�t�X�X�e�_�d�
;�C�
�C��
�
������T�"�� �	�A��H�H�Y��
�w�w�y���$�-�-�/�/��2�3���;�;�q�>���"�"�4�T�$�Z�H�H����8�8�J����H�H�T�Z�Z��_�c�*��H�H�X�c�]�C�(�����Jr>slog|historysfollow-firsts=only follow the first parent of merge changesets (DEPRECATED)s!show revisions matching date specsDATE�copiessshow copied filess+do case-insensitive search for a given textsTEXTs"revisions to select or follow fromsremoveds*include revisions where files were removedsonly-mergess8show only merges (DEPRECATED) (use -r "merge()" instead)srevisions committed by usersUSERsonly-branchs?show only changesets within the given named branch (DEPRECATED)s-show changesets within the given named branchs)show changesets within the given bookmark�Psprunes/do not display revision or any of its ancestorss[OPTION]... [FILE]c�n�[R"U5nURS5nU(a5URS5(d[R"[S55eU(a&U(a[R"[S55e[R"XRS5S5n[R"XU5n[R"X5upgU(a[R"XU5upgSnURS5(a0Sn	U(aUR5S	-n	[R"XS
9nURS5 [R"XX7SS
9n
URS5(a[R nO[R"nU"XXjU5 g)a�show revision history of entire repository or files

Print the revision history of the specified files or the entire
project.

If no revision range is specified, the default is ``tip:0`` unless
--follow is set.

File history is shown without following rename or copy history of
files. Use -f/--follow with a filename to follow history across
renames and copies. --follow without a filename will only show
ancestors of the starting revisions. The starting revisions can be
specified by -r/--rev, which default to the working directory parent.

By default this command prints revision number and changeset id,
tags, non-trivial parents, user, date and time, and a summary for
each commit. When the -v/--verbose switch is used, the list of
changed files and full commit message are shown.

With --graph the revisions are shown as an ASCII art DAG with the most
recent changeset at the top.
'o' is a changeset, '@' is a working directory parent, '%' is a changeset
involved in an unresolved merge conflict, '_' closes a branch,
'x' is obsolete, '*' is unstable, and '+' represents a fork where the
changeset from the lines below is a parent of the 'o' merge on the same
line.
Paths in the DAG are represented with '|', '/' and so forth. ':' in place
of a '|' indicates one or more revisions in a path are omitted.

.. container:: verbose

   Use -L/--line-range FILE,M:N options to follow the history of lines
   from M to N in FILE. With -p/--patch only diff hunks affecting
   specified line range will be shown. This option requires --follow;
   it can be specified multiple times. Currently, this option is not
   compatible with --graph. This option is experimental.

.. note::

   :hg:`log --patch` may generate unexpected diff output for merge
   changesets, as it will only compare the merge changeset against
   its first parent. Also, only files different from BOTH parents
   will appear in files:.

.. note::

   For performance reasons, :hg:`log FILE` may omit duplicate changes
   made on branches and will not show removals or mode changes. To
   see all such changes, use the --removed switch.

.. container:: verbose

   .. note::

      The history resulting from -L/--line-range options depends on diff
      options; for instance if white-spaces are ignored, respective changes
      with only white-spaces in specified line range will not be listed.

.. container:: verbose

  Some examples:

  - changesets with full descriptions and file lists::

      hg log -v

  - changesets ancestral to the working directory::

      hg log -f

  - last 10 commits on the current branch::

      hg log -l 10 -b .

  - changesets showing all modifications of a file, including removals::

      hg log --removed file.c

  - all changesets that touch a directory, with diffs, excluding merges::

      hg log -Mp lib/

  - all revision numbers that match a keyword::

      hg log -k bug --template "{rev}\n"

  - the full hash identifier of the working directory parent::

      hg log -r . --template "{node}\n"

  - list available log templates::

      hg log -T list

  - check if a given changeset is included in a tagged release::

      hg log -r "a21ccf and ancestor(1.9)"

  - find all changesets by some user in a date range::

      hg log -k alice -d "may 2008 to jul 2008"

  - summary of all changesets after the last tag::

      hg log -r "last(tagged())::" --template "{desc|firstline}\n"

  - changesets touching lines 13 to 23 for file.c::

      hg log -L file.c,13:23

  - changesets touching lines 13 to 23 for file.c and lines 2 to 6 of
    main.c with patch::

      hg log -L file.c,13:23 -L main.c,2:6 -p

See :hg:`help dates` for a list of formats valid for -d/--date.

See :hg:`help revisions` for more about specifying and ordering
revisions.

See :hg:`help templates` for more about pre-packaged styles and
specifying custom templates. The default template used by the log
command can be customized via the ``command-templates.log`` configuration
setting.

Returns 0 on success.

r�rts--line-range requires --follows:FILE arguments are not compatible with --line-range optionrsr�Nr�r)�endrevr�Tr�r�)r+rerOrrSrr/r�r#�	parseopts�getrevs�getlinerangerevsr��getcopiesfnr�r��displaygraphrevs�displayrevs)rVrWrhrXr��	walk_optsr��differ�	getcopiesr�r��	displayfns            r[�logr��sW��F����%�D�����'�I�����)�,�,����q�!B�C�D�D��T����
�K�L�
�	
��%�%�d�H�H�V�,<�i�H�D��$�$�R�t�4�I��%�%�d�6�L�D��"�2�2�4�t�D����I��x�x�	�������X�X�Z�!�^�F��'�'��<�	��H�H�V���-�-�
�$���I��x�x�����/�/�	��*�*�	�
�b���3r>�manifestsrevision to displayslist files from all revisionss[-r REV]c
�p�URS[R"U55nURS5(a�U(dU(a[R
"[
S55e[5nUH#nXnU[UR55-nM% URS5 [U5H&nUR5 URSSU5 M( UR5 gU(a&U(a[R
"[
S55eU(dUnSS	S
SS.n	S
SS
SS.n
U(a[R"X/S5n[ R""X5nUR%5nURS5 UH�nUR5 UR'US9 XxR)5nUR+UR,SS[/X�55 UR+UR0SSX�X�5 URSSU5 M� UR5 g)a�output the current or given revision of the project manifest

Print a list of version controlled files for the given revision.
If no revision is given, the first parent of the working directory
is used, or the null revision if no revision is checked out.

With -v, print file permissions, symlink and executable bits.
With --debug, print file revision hashes.

If option --all is specified, the list of all files from all revisions
is printed. This includes deleted and renamed files.

Returns 0 on success.
r�rs#can't specify a revision with --allr�r�Nr9�@�*r>r{)r��xr>rs644s755r�r�shashr�s	mode types%s %1s )rr+rerOrrSrr�r�r�r�r�r�r�r/r�r#r��manifestr�flagsr�r�rr�)
rVrWr�r�rXr�resr�r�charr��mf�fls
             r[r�r��s���4
���k�8�#7�#7��#=�	>�B��x�x�����$��"�"�1�%K�#L�M�M��e���C��)�C��3�s�y�y�{�#�#�C��	��������A��L�L�N��H�H�W�g�q�)��	�����
�t����q�!D�E�F�F�����d��D�9�D���V�6�B�D���)�)�$��	�B��
�
�
�t�
*�C�	����B��H�H�[��
��
����
�
�
�s�
��
�V�\�\�^��
���R�\�\�7�F�C���J�?�
���R�Z�Z��z�4�8�T�X�N�
����'�1�%�
��F�F�Hr>s8force a merge including outstanding changes (DEPRECATED)srevision to mergespreviews1review revisions to merge (no merge is performed)sabort the ongoing merges[-P] [[-r] REV]c�p�URS5nU(aHURR5UR:Xa [R
"U[
S55 [R"USSS/5 U(a�[R"U5nU(aIURS:wa9[R"[
S5UR-UR5S9eU(a[R"[
S55e[R"UR U5$URS5(a&U(a[R"[
S55eU(dURS5nU(a["R$"X5nOOUR'S	S
5(a[R"[
S55eU[(R*"U5nUR-5c[R"[
S
55eURS5(a�USR-5nUR-5nUR.R1U/U/S9n	["R2"X[4R6"U55n
U	HnU
R9X5 M U
R;5 gSURSS50nUR=US5 URS5n/SQn
[R>"XlU
S9sSSS5 $!,(df   g=f)aDmerge another revision into working directory

The current working directory is updated with all changes made in
the requested revision since the last common predecessor revision.

Files that changed between either parent are marked as changed for
the next commit and a commit must be performed before any further
updates to the repository are allowed. The next commit will have
two parents.

``--tool`` can be used to specify the merge tool used for file
merges. It overrides the HGMERGE environment variable and your
configuration files. See :hg:`help merge-tools` for options.

If no revision is specified, the working directory's parent is a
head revision, and the current branch contains exactly one other
head, the other head is merged with by default. Otherwise, an
explicit revision with which to merge must be provided.

See :hg:`help resolve` for information on handling file conflicts.

To undo an uncommitted merge, use :hg:`merge --abort` which
will check out a clean copy of the original merge parent, losing
all changes.

Returns 0 on success, 1 if there are unresolved files.
r\r.r��previews&cannot abort merge with %s in progressrMs"cannot specify a node with --abortr9rhsmerge.require-revs8configuration requires specifying revision to merge withNs+merging with the working copy has no effectr{)r'r�rr;r=r>r�)sworking copys	merge revscommon ancestor)r�r�) rOrbrirr�wrongtooltocontinuerrQrPrTrrQrNrSr"�
abortmergerVr#r�rr�	destmerger�rM�findmissingr�r+rer?r@r[r$)rVrWr�rXr\r2r�r�rir�r�rlr�r�s              r[r$r$sw��h
�H�H�W��E�����!�!�#�t�{�{�2��#�#�D�!�H�+�6��(�(��w��	�8J�K���*�*�4�0���U�]�]�h�.��"�"��;�<��
�
�N��Z�Z�\��
���"�"�1�%J�#K�L�L��}�}�T�W�W�d�+�+��x�x����4����q�!D�E�F�F���x�x������"�"�4�.��
�=�=��&:�;�;��"�"�����
��8�%�%�d�+�,��
�x�x�z�����
�<�=�
�	
��x�x�	���
�$�Z�_�_�
��
�X�X�Z�����*�*�2�$�r�d�*�C���1�1��h�*�*�4�0�
�	��D��N�N�4�:�&�������(����&�#�)>�?�I�	�	�	�9�h�	/�����!��D���x�x���8�
0�	/�	/�s�3*L'�'
L5soutstanding uncommitted merges:To continue:    hg commit
To abort:       hg merge --aborts%use 'hg commit' or 'hg merge --abort')r�r��allowcommit�cmdmsgrR�
statushintr�soutgoing|outs6a changeset intended to be included in the destinations(a specific branch you would like to pushs)[-M] [-p] [-n] [-f] [-r REV]... [DEST]...c��[R"U5nURS5(a�[R"XU5H�n[
R"XU5nSURS5;a-UR[S55 UR5  gUR[S5[R"UR5-5 URS5 [R "XU5UR5 s $ [
R "XX#5$!UR5 f=f)a�show changesets not found in the destination

Show changesets not found in the specified destination repository
or the default push location. These are the changesets that would
be pushed if a push was requested.

See pull for details of valid destination formats.

.. container:: verbose

  With -B/--bookmarks, the result of bookmark comparison between
  local and remote repositories is displayed. With -v/--verbose,
  status is also displayed for each bookmark like below::

    BM1               01234567890a added
    BM2                            deleted
    BM3               234567890abc advanced
    BM4               34567890abcd diverged
    BM5               4567890abcde changed

  The action taken when pushing depends on the
  status of each bookmark:

  :``added``: push with ``-B`` will create it
  :``deleted``: push with ``-B`` will delete it
  :``advanced``: push will update it
  :``diverged``: push with ``-B`` will update it
  :``changed``: push with ``-B`` will update it

  From the point of view of pushing behavior, bookmarks
  existing only in the remote repository are treated as
  ``deleted``, even if it is in fact added remotely.

Returns 0 if there are outgoing changes, 1 otherwise.
r�rWr�rr�soutgoing)r+rerOr<rr"rrXr�rr@rUr�r�r�r
r)rVrWrrXr�r(s      r[rr�s���H����%�D��x�x�����*�*�4�U�;�D��G�G�D��-�E�

��u�~�~�m�'D�D��G�G�A�C�D�E�����
�
�	�	��,�-��0D�0D�T�X�X�0N�N������%� �)�)�"�E�:����
�<��;�;�r��-�-�����
�s�/D/�!A"D/�/Esparentss&show parents of the specified revisions[-r REV] [FILE]c�V�[R"U5nURS5nU(a[R"X/S5n[
R"XS5nU(Ga"[R"XR4U5nUR5(d[UR55S:wa[R"[S55eUR5Sn/nUR5H-nU(dMURUR!U55 M/ U(d"[R"[S5U-5e/n	UH1n
UR%X*S9nU	RUR'55 M3 O-UR5Vs/sHo�R'5PM n	n[
R("XU5nU	H'n
X�R*:wdMUR-X5 M) UR/5 g![R"a GM.f=fs snf)	a�show the parents of the working directory or revision (DEPRECATED)

Print the working directory's parent revisions. If a revision is
given via -r/--rev, the parent of that revision will be printed.
If a file argument is given, the revision in which the file was
last changed (before the working directory revision or the
argument to --rev if given) is printed.

This command is equivalent to::

    hg log -r "p1()+p2()" or
    hg log -r "p1(REV)+p2(REV)" or
    hg log -r "max(::p1() and file(FILE))+max(::p2() and file(FILE))" or
    hg log -r "max(::p1(REV) and file(FILE))+max(::p2(REV) and file(FILE))"

See :hg:`summary` and :hg:`help revsets` for related information.

Returns 0 on success.
rsr�Nrs%can only specify an explicit filenamers'%s' not found in manifest)�fileid)r+rerOr/r�r#r�rdrnr�r�rrSrrUr�rr��filectxr�r�rr?r@)rVrW�file_rXr�r�ri�	filenodes�cprr�r�r�rs              r[rUrU�s���J����%�D�
�(�(�6�
�C�
��)�)�$��y�A��
�
�
�t�$�
/�C���M�M�#�x��.���9�9�;�;�#�a�g�g�i�.�A�-��"�"�1�%M�#N�O�O����	�!����	��+�+�-�B���
�� � ����U�!3�4�	 ���"�"�1�%B�#C�e�#K�L�L����B��<�<��<�1�D�
�H�H�T�Y�Y�[�!��"%����/��2�W�W�Y���/��-�-�b��=�I�
�������N�N�4�7�#���O�O����$�$�
��
��
0s� H
�H&�
H#�"H#�pathss[NAME]c	��[R"X5nURS5 URS[R
"U55nUR
5(a[RnO[nUR(aSnOSnU(+=(a UR(+nUH�up�UR5 URU(+SXy5 URUR(+SSU"U
R55 [U
RR55HWup�US;deU(aUR!SX�4-5 [R"Un
U
"U5nURX�SU5 MY M� UR%5 U(a3U(d,UR(dUR'[)S55 g	g
)a_show aliases for remote repositories

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``.

.. note::

   ``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.

.. container:: verbose

  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.
r�r�s%s = �name�url)r�r�s%s:%s = snot found!
rr)r<�
list_pathsr�rr+rer�r��bytesr�r�r��rawlocr��
suboptionsr�r��path_suboptions_displayr�r�r)rVrW�searchrX�	pathitemsrr��namefmt�showsuboptsrr��subopt�valuers              r[�pathsr�s\��d�"�"�2�.�I��H�H�X��	���h�� 4� 4�T� :�	;�B�	�z�z�|�|��+�+����	�x�x������*�-�R�X�X��K��
��
����
����Z��'�8�
������\�6�7�L����4M�N�#�D�O�O�$9�$9�$;�<�M�F��!2�2�2�2�������~�5�6��5�5�f�=�G��E�N�E��L�L��g�u�=�
=�	 ��F�F�H�
�i��x�x��G�G�A�o�&�'��r>�phasespublicsset changeset phase to publicsset changeset phase to draftsset changeset phase to secretsallow to move boundary backwardstarget revisions[-p|-d|-s] [-f] [-r] [REV...]c	�^^�[R"U5nSn[[R5H4upVX6(dMUb[
R"[S55eUnM6 [U5nURUS5 U(a[R"X5nO0USR5Vs/sHowR5PM nnSnUcAUH9n	Xn
URSU
R5U
R54-5 M; U$UR!5 UR#S5nU(d[
R"[S55eUV	s/sHo�U	R%5PM nn	UR'5n
U
R(R*nU
V	s/sH
o�"X�5PM sn	m[R,"XXL5 US(a[R."XXL5 SSS5 SSS5 W
R(R*nU
V	s/sH
o�"X�5PM sn	m[1UU4S	jU
55nU
R2nWVs/sHnTURU5U:dMUPM! nnU(a(UR5[S
5[7U5-5 SnU(a<[S5U-nU(aUR9U5 U$UR;U5 U$UR5[S
55 U$s snfs sn	fs sn	f!,(df   GN0=f!,(df   GN:=fs sn	fs snf)a�set or show the current phase name

With no argument, show the phase name of the current revision(s).

With one of -p/--public, -d/--draft or -s/--secret, change the
phase value of the specified revisions.

Unless -f/--force is specified, :hg:`phase` won't move changesets from a
lower phase to a higher phase. Phases are ordered as follows::

    public < draft < secret

Returns 0 on success, 1 if some phases could not be changed.

(For more information about the phases concept, see :hg:`help phases`.)
Nsonly one phase can be specifiedrsrs%i: %s
r�r�r�c3�:># �UHnTUTU:gv� M g7fr�r�)r�r��newdata�olddatas  ��r[r��phase.<locals>.<genexpr>�s����=��1�g�a�j�G�A�J�.��s�s9cannot move %i changesets to a higher phase, use --force
rs phase changed for %i changesets
sno phases changed
)r+rer�r*�
cmdphasenamesrrSrr�r�r#r�rUr�r�r�r3rZr��
unfiltered�_phasecache�phase�advanceboundary�retractboundary�sumrMr�r�rUr�)rVrWr�rX�targetphase�idxrr�rvr�r�r�r��unfi�getphase�changesr&rrkrnr�r�s                    @@r[r�r�us����:����%�D��K��v�3�3�4�	���:�:��&��&�&�q�)K�'L�M�M��K�	5���:�D��K�K��V�����"�"�4�.��"&�d��!3�!3�!5�6�!5�A����!5��6�
�C����A��'�C��H�H�[�C�G�G�I�s�|�|�~�#>�>�?��N�J�G�Y�Y�[�$�*�*�8�4����&�&�q�)>�'?�@�@�-1�2�T��!�W�\�\�^�T�E�2��?�?�$�D��'�'�-�-�H�26�7�$�Q�x��(�$�7�G��"�"�4�[�@��H�~��&�&�t��D�5�[��#�#�)�)��.2�3�d��8�D�$�d�3���=��=�=��
�^�^��$�I�u�!�����q�	�(:�[�(H�A�u��I���G�G��,���h�-�	 �
��C���8�9�G�C�C���	�	�#��
�J�������J�
�G�G�A�,�-�.��J��Y7��3��
8�5�4��[�[��4��JsZ�>L�/L;�+L)�,L�,L)�4L$�;L)�L;�*M
�$M�M�
L)�)
L8	�3L;�;
M
�updates8update to new branch head if new descendants were pulleds,run even when remote repository is unrelatedsconfirms$confirm pull before applying changessbookmark to pulls
remote-hiddens6include changesets hidden on the remote (EXPERIMENTAL)s<[-u] [-f] [-r REV]... [-e CMD] [--remotecmd CMD] [SOURCE]...c�
�URSS5(a@URS5(a*[S5n[S5n[R"XES9eSn[
R"XU5GH�nUR[S5[
R"UR5-5 UR5 [R"U[R"U5UUS	S
9nSnURURS/54n	[R "UUU	URS5US	S
9up�0nSn
URS
5(dU
(Ga�/n
/nU
=(d /n
U
(a7UR#S5(d![S5n[R$"U5eUR'5nUR)SSS05nU
H&nUR+UR)SSU055 M( SSS5 WR-5n[.R0"U5nUUS'URS
/5HZnUR2R5U5nUU;a"[R"[S5U-5eU
R+UU5 M\ [7U
5H4unnUUR-5nU
R+U5 UU:XdM2UnM6 [8R:"5nURS5(aUR=5nU UR?URS055 [@RB"UUUU
URS5URS
S5UURS5S9RDnSnU(asURG5RHRKU5nURS5(a	USSnO+URS5(a	USSnOURnURUl&[NRP"XUURS5UU5nU?&SSS5 URW5 U(dGM� O U(agg!,(df   GN�=f![RRa9n[S5URTS-nU4URTSS-Ul*eSnAff=f!U?&f=f!,(df   N�=f!URW5 f=f)a�pull changes from the specified source

Pull changes from a remote repository to a local one.

This finds all changes from the repository at the specified path
or URL and adds them to a local repository (the current one unless
-R is specified). By default, this does not update the copy of the
project in the working directory.

When cloning from servers that support it, Mercurial may fetch
pre-generated data. When this is done, hooks operating on incoming
changesets and changegroups may fire more than once, once for each
pre-generated bundle and as well as for any additional remaining
data. See :hg:`help -e clonebundles` for more.

Use :hg:`incoming` if you want to see what would have been added
by a pull at the time you issued this command. If you then decide
to add those changes to the repository, you should use :hg:`pull
-r X` where ``X`` is the last changeset listed by :hg:`incoming`.

If SOURCE is omitted, the 'default' path will be used.
See :hg:`help urls` for more information.

If multiple sources are specified, they will be pulled sequentially as if
the command was run multiple time. If --update is specify and the command
will stop at the first failed --update.

Specifying bookmark as ``.`` is equivalent to specifying the active
bookmark's name.

.. container:: verbose

    One can use the `--remote-hidden` flag to pull changesets
    hidden on the remote. This flag is "best effort", and will only
    work if the server supports the feature and is configured to
    allow the user to access hidden changesets. This option is
    experimental and backwards compatibility is not garanteed.

Returns 0 on success, 1 if an update had unresolved files.
rh�update.requiredestrs,update destination required by configurations&use hg pull followed by hg update DESTrMNspulling from %s
�
remote_hidden)�remotehiddenrXr�r�slookupsOother repository doesn't support revision lookup, so a rev cannot be specified.slistkeyss	namespacer�skeysremotebookmarkssremote bookmark %s not found!�opargsr�r��confirm)r�r�r�r
r�r�rscannot update to target: %sr),rrOrrrSr<r�rUr�r��flushr"rr+rerXr�capabler��commandexecutor�callcommandr��resultr
�unhexlifybookmarksr�r�r�r4r�rarrrH�cgresultr�rMr��_subtoppathr�postincoming�FilteredRepoLookupErrorr�r@)rVrW�sourcesrXrnrN�update_conflictr�r(r�r�r+�
pullopargsr��fnodes�errrH�fremotebookmarksr��remotebookmarksr;r�r�r�ra�modheads�brev�excs                            r[rHrH�so��t
�}�}�[�"7�8�8�T�X�X�h�=O�=O��?�@���:�;�����s�.�.��O��&�&�t��9��
�	�	�!�(�)�G�,@�,@����,J�J�K�
���
������ � ��&���o�.�	
����c	����T�X�X�h��%;�<�H��-�-���������!�/�2��N�D��J��E��x�x�
�#�#�t�
�����z�r����
�
�i� 8� 8��9��C� �+�+�c�*�*��*�*�,��'(�}�}�#�l�L�%A�(�$�"���
�
�a�m�m�I���{�&K�L�"�	-�#3�"9�"9�";��"+�">�">��"O��1@�
�-�.����*�b�1�A����2�2�1�5�A���/�#�.�.��>�?�!�C����L�L���!3�4�
2�(��o�F�A�s�!�!�9�+�+�-�D��L�L��&��h��#'��	.��+�+�-�E��x�x��!�!��
�
�����!�!�$�(�(�8�R�"8�9�#�=�=������(�(�7�+�"�h�h�z�2�6�%� �H�H�Y�/�	��(�����#���0�:�:�>�>�x�H�H�
�x�x����#�E�{�1�~�����(�+�+�#�H�~�a�0��#�{�{��
$(�8�8�� �	)�&-�&:�&:��(�D�H�H�X�,>��$�'�O��(�Y�^
�K�K�M��?��a:�b���_-�,��@�4�4���:�;�c�h�h�q�k�I�C� #�v�������4�C�H�����
�(��Y���^
�K�K�M�sw�1C	S7�:AQ=�;CS7�AS7�DS&�!)R�S&�S7�=
R	�S7�S�#4S�S�S�S#�#S&�&
S4	�0S7�7T	spurge|cleansabort-on-errsabort if an error occursspurge ignored files too�ignoredspurge only ignored filessdirsspurge empty directoriesspurge filessprints(print filenames instead of deleting thems?end filenames with NUL, for use with xargs (implies -p/--print)s%ask before permanently deleting filesshg purge [OPTION]... [DIR]...c���[R"USS5 URS5(+nSnURS5(aSnSnURSS5(aSnSnOURSS5nU(+nURS	5nURS
5n	URS5n
U
c[R"S
5 Sn
U(dU	(dSnSn	[R"USU[R"U55n[R"UUUUU	UURS5U(+U
S9	nUH!n
U(aMURSX�4-5 M# g![
a Sn
N�f=f)a
removes files not tracked by Mercurial

Delete files not known to Mercurial. This is useful to test local
and uncommitted changes in an otherwise-clean source tree.

This means that purge will delete the following by default:

- Unknown files: files marked with "?" by :hg:`status`
- Empty directories: in fact Mercurial ignores directories unless
  they contain files under source control management

But it will leave untouched:

- Modified and unmodified tracked files
- Ignored files (unless -i or --all is specified)
- New files added to the repository (with :hg:`add`)

The --files and --dirs options can be used to direct purge to delete
only files, only directories, or both. If neither option is given,
both will be deleted.

If directories are given on the command line, only files in these
directories are considered.

Be careful with purge, as you could irreversibly delete some files
you forgot to add to the repository. If you only want to print the
list of files that this program would delete, use the --print
option.
r�ignored�printr�r�r�FTr��dirsr�Nspurge�abort_on_err)rmr�removeemptydirs�removefiles�abortonerror�noopr�rb)
rr�rOr�find�KeyErrorr/rdr+rer\�purger�)rVrWrrX�actrrrmr�
removedirsr�rdr�r�s              r[r r �s]��l�!�!�$��y�9��h�h�w��
�C�
�C��x�x���������x�x��u��������(�(�9�e�,���+���(�(�7�#�K����&�!�J��h�h�y�!�G���	��O�O�H�%��G��z����
��M�M�$�t�*�d�H�,@�,@��,F�G�E��N�N��
���"���X�X�n�-��W��

�E����s��H�H�W��{�*�+���+�	��G�	�s�7E(�(E7�6E7�pushs
force pushsbookmark to pushs
all-bookmarkss!push all bookmarks (EXPERIMENTAL)s
new-branchsallow pushing a new branch�pushvarss/variables that can be sent to server (ADVANCED)�publishs+push the changeset as public (EXPERIMENTAL)s5[-f] [-r REV]... [-e CMD] [--remotecmd CMD] [DEST]...c�	�[R"U5nURS5(a2[R"USSS/5 [UR5US'URS5(a�URSSUSS5 USHqnURRU5nXAR;a#URS/5RU5 MPURS/5RS5 Ms SnS	n[R"XU5GHunURnURURS
5=(d /4n	UR[!S5[R""U5-5 [$R&"XX�RS55up�[$R("XU5nU
(ae[*R,"X5V
s/sHo�U
R/5PM n
n
U
(d'[0R2"[!S5[!S
5S9eO�UR4(a�[6R8"SUR45n[:R,"X/5n
U
Vs/sHo�UR/5PM n
nU
(d[0R2"[!S55eO>UR=SS5(a'[0R2"[!S5[!S5S9eX�lUSnUR@n[CU5H>nUREU5RGU5nUS	:XdM+ U?URI5  g U?[KURS055nURS/5RMURS/55 [NRF"UUURS5U
URS5URSS5URS5US9nURPS	:XaSnOURPbSnURRb-URRS:XaSnOU(dURR(aSnU(aURI5  OURI5 GMx US	:Xa	U(dSnU$s sn
fs snf!U?f=f!URI5 f=f) a	push changes to the specified destination

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.
s
all_bookmarksr�rsr�spushingr#�nullFrr�spushing to %s
s,specified revisions evaluate to an empty sets use different revision argumentsrMs	heads(%r)s6default push revset for path evaluates to an empty setrhspush.require-revssno revisions specified to pushsdid you mean "hg push -r ."?r{rsopargsr$r�s
new_branchr�r%)r��	newbranchr
�publishr�Trz)*r+rerOrrQr�r�rpr��
setdefaultr�r<rr�rXrUrr�r"rrr#r�r�rrS�pushrevr-�
formatspecr/rr�substater��sub�pushr@�dictr�rr�bkresult)rVrWrrXr;�some_pushedrr�r+r�r�r+r(r��exprr�r��subsrw�
sub_resultr��pushops                      r[r/r/s!��H����%�D��x�x� �!�!��,�,���
�&�!�	
�
!����1��[���x�x����
���\�:�t�K�/@�'�J��k�"�A����*�*�1�-�A��O�O�#������+�2�2�1�5������+�2�2�7�;�#��K�
�F��&�&�t��7���x�x���K�K����)�!4�!:��;��
�	�	�!�&�'�'�*>�*>�t�*D�D�E��)�)���(�(�6�"2�
�������D�)��E	��0:�0C�0C�D�0O�P�0O�1�Q�����0O��P���*�*��I�J��B�C����
���"�,�,�\�4�<�<�H���'�'��f�5��48�9�D�S�S�	���(�D��9���*�*��U��������{�,@�A�A��&�&��7�8��:�;���
 $��	
%���J���z�z�����A�!"���q����t�!4�J�!�Q�� ��$�B
�K�K�M�M&�
�$������B�'��F�
���k�2�.�5�5�d�h�h�{�B�6O�P��]�]�������"���(�(�=�1��(�(�;��3�����,��	�F����!�#������,�"�����*��?�?�a�'��F��F�O�O��F���
�K�K�M�	�
�K�K�M�]8�^��{�;����M��MQ��:��.�$��B
�K�K�M�sX�R=�'R,�A>R=�R1�A-R=�AR6�R6�R=�'R6�)D	R=�,
R=�6R:�:R=�=Ssrecover)r>�verifyFs(run `hg verify` after successful recoverc��UR5nU(a=US(a[R"U5$[S5nUR	U5 gg)aroll back an interrupted transaction

Recover from an interrupted commit or pull.

This command tries to fix the repository status after an
interrupted operation. It should only be necessary when Mercurial
suggests it.

Returns 0 if successful, 1 if nothing to recover or verify fails.
r5sH(verify step skipped, run `hg verify` to check your repository content)
rr)�recoverr"r5rr�)rVrWrXrvrns     r[r9r9�sI��$�,�,�.�C�
���>��9�9�T�?�"��)��C�
�G�G�C�L��r>s	remove|rmsrecord delete for missing filess)forget added files, delete modified filesc�p�URS5URS5pTURS5nU(d&U(d[R"[S55eUR	5 UR
R
U5 [R"USU[R"U55nURS5n[R"USS9n	[R"XUS	X�XXUS
9	sSSS5 sSSS5 $!,(df   O=fSSS5 g!,(df   g=f)a�remove the specified files on the next commit

Schedule the indicated files for removal from the current branch.

This command schedules the files to be removed at the next commit.
To undo a remove before that, see :hg:`revert`. To undo added
files, see :hg:`forget`.

.. container:: verbose

  -A/--after can be used to remove only files that have already
  been deleted, -f/--force can be used to force deletion, and -Af
  can be used to remove files from the next revision without
  deleting them from the working directory.

  The following table details the behavior of remove for different
  file states (columns) and option combinations (rows). The file
  states are Added [A], Clean [C], Modified [M] and Missing [!]
  (as reported by :hg:`status`). The actions are Warn, Remove
  (from branch) and Delete (from disk):

  ========= == == == ==
  opt/state A  C  M  !
  ========= == == == ==
  none      W  RD W  R
  -f        R  RD RD R
  -A        W  W  W  R
  -Af       R  R  R  R
  ========= == == == ==

  .. note::

     :hg:`remove` never deletes files in Added [A] state from the
     working directory, not even if ``--force`` is specified.

Returns 0 on success, 1 if any warnings encountered.
�afterr�rKr�Nr#Tr_r>)rY)rOrrSrrarbrcr/rdr+rerfr�remove)
rVrWrhrXr;r�rYrir#rjs
          r[r<r<�s���j�8�8�G�$�d�h�h�w�&7�5�
�X�X�i�
 �F������q�!6�7�8�8�	
����t�}�}�3�3�D�9��M�M�$�t�*�d�H�,@�,@��,F�G���8�8�J�'���&�&�t��F���~�~��a��h�u�v�
�	:�9���9�9�����s%�0D'�A.D
�:	D'�
D	�D'�'
D5srename|move|mvs$unmark a destination file as renameds)record a rename that has already occurreds5(un)mark renames in the given revision (EXPERIMENTAL)s+forcibly move over an existing managed files[OPTION]... SOURCE... DESTc
��SnURS5nU(a=[R"X5nUR5bSnUR5US'UR	5 U"U5 [
R"XU[R"U5SS9sSSS5 sSSS5 $!,(df   O=fSSS5 g!,(df   g=f)a3rename files; equivalent of copy + remove

Mark dest as copies of sources; mark sources for deletion. If dest
is a directory, copies are put in that directory. If dest is a
file, there can only be one source.

By default, this command copies the contents of files as they
exist in the working directory. If invoked with -A/--after, the
operation is recorded, but no copying is performed.

To undo marking a destination file as renamed, use --forget. With that
option, all given (positional) arguments are unmarked as renames. The
destination file(s) will be left in place (still tracked). The source
file(s) will not be restored. Note that :hg:`rename --forget` behaves
the same way as :hg:`copy --forget`.

This command takes effect with the next commit by default.

Returns 0 on success, 1 if errors are encountered.
c�8�URRU5$r�r�r�s r[r��rename.<locals>.<lambda>or�r>r�Nc�,�[R"5$r�r�r�s r[r�rename.<locals>.contextvr�r>T)r�r�r�s       r[r�r�Bs���Z>�G�
�(�(�8�
�C�
��"�"�4�-���7�7�9� �
1�!�W�W�Y�D��N�	
����w�t�}��|�|��d�H�0�0��6�t�
�%�}���}�}�����s$�)	C
�2+B0�	C
�0
B>	�:C
�

C�resolvesselect all unresolved filess!list state of files needing mergesmarksmark files as resolvedsunmarksmark files as unresolveds	no-statusshide status prefixsre-mergesre-merge filesc��^^$�[R"T5mURSS5nSR5nU4SjU5upgp�p�[	[[
SX�X�/555nUS:�a[R"[S55eUS:Xa@URSS	5(a)[S
5n
[R"[S5U
S9eU(a&U(a[R"[S
55eU(d:U(d3U	(d,U(d%U(d[R"[S5SS9eU(a�U(a>UR[S55(a[R"[S55eU(aEU(d>UR[S55(a[R"[S55eU(aEU(d>UR[S55(a[R"[S55e[R"U5m$U	(Ga4URS5 URST5n[ R"R%U5nUSn[R&"UUT5n[ R(S[ R*S[ R,S[ R.S0nUH|nU"U5(dMUUUunnUR15 UR3US9 UR5U
(+SSUUS9 UR7US9 UR9ST$"U5-US9 M~ UR;5 gUR=5 [ R"R%U5nUR?5(dGUR@RC5URD:wd[RF"[S55eUSn[R&"UUT5nSnSn/nU(aURISS 5nUS!;aSnUGH8nU"U5(dMS"nUU[ R,[ R.4;a�U(a!URKU[ R.5 ObU(a!URKU[ R,5 O:UU[ R,:Xa#URM[S#5T$"U5-5 M�U(a�W(a^URNRQU5n[RRT"U5(a(UU[ R*:waURWU5 URKU[ R*5 GMWU(a#URKU[ R(5 GM�URYU5n[ZR\"UUS$-5 S%TRaS&S'50nURcUS5 UReUU5nSSS5 W(aSnURg5 [ZRh"US$-[Rj"XU55 GM; U(aqURM[S(5S'RmU$4S)jU55-5 WS*:Xa5U(d.U(d'[RF"[S+5[S,5S9eURg5 UR@RC5URD:gnUR@RoU5 [ Rp"XRs5US5 SSS5 U(GdU(GaSn
[uUVs/sHnURwS-5S:�dMUPM sn5(d�UVs/sHnS.U-PM
 nn[R&"UUT5nUHtnU"U5(dMS/n S'RmUV!s/sH#n!TRaU!5(dMU "U!5PM% sn!5n"[S05U"S1RmU54-n
 O URM[S255 U
(aURMU
5 SSS5 WRy5n#U#(d0UR{[S355 [|R~"U5 W$![^a GN
f=f!,(df   GN�=f!URg5 f=f![^a GM�f=f!,(df   GN�=fs snfs snfs sn!f!,(df   N�=f)4aredo merges or set/view the merge status of files

Merges with unresolved conflicts are often the result of
non-interactive merging using the ``internal:merge`` configuration
setting, or a command-line merge tool like ``diff3``. The resolve
command is used to manage the files involved in a merge, after
:hg:`merge` has been run, and before :hg:`commit` is run (i.e. the
working directory must have two parents). See :hg:`help
merge-tools` for information on configuring merge tools.

The resolve command can be used in the following ways:

- :hg:`resolve [--re-merge] [--tool TOOL] FILE...`: attempt to re-merge
  the specified files, discarding any previous merge attempts. Re-merging
  is not performed for files already marked as resolved. Use ``--all/-a``
  to select all unresolved files. ``--tool`` can be used to specify
  the merge tool used for the given files. It overrides the HGMERGE
  environment variable and your configuration files.  Previous file
  contents are saved with a ``.orig`` suffix.

- :hg:`resolve -m [FILE]`: mark a file as having been resolved
  (e.g. after having manually fixed-up the files). The default is
  to mark all unresolved files.

- :hg:`resolve -u [FILE]...`: mark a file as unresolved. The
  default is to mark all resolved files.

- :hg:`resolve -l`: list files which had or still have conflicts.
  In the printed list, ``U`` = unresolved and ``R`` = resolved.
  You can use ``set:unresolved()`` or ``set:resolved()`` to filter
  the list. See :hg:`help filesets` for details.

.. note::

   Mercurial will not let you commit files with unresolved merge
   conflicts. You must use :hg:`resolve -m ...` before you can
   commit after a conflicting merge.

.. container:: verbose

  Template:

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

  :mergestatus: String. Character denoting merge conflicts, ``U`` or ``R``.
  :path:    String. Repository-absolute path of the file.

Returns 0 on success, 1 if any files fail a resolve attempt.
rhsresolve.confirms'all mark unmark list no_status re_mergec3�F># �UHnTRU5v� M g7fr�r�)r�r�rXs  �r[r��resolve.<locals>.<genexpr>�s����1P�x�!�$�(�(�1�+�+�x�s�!Nrstoo many actions specifiedrsresolve.explicit-re-merges*use --mark, --unmark, --list or --re-mergesno action specifiedrMs can't specify --all and patterns�!no files or directories specifieds*use --all to re-merge all unresolved filess1re-merge all unresolved files (yn)?$$ &Yes $$ &Nos	user quits9mark all unresolved files as resolved (yn)?$$ &Yes $$ &Nos9mark all resolved files as unresolved (yn)?$$ &Yes $$ &NorB)�resolve.unresolvedrw)sresolve.resolvedr=)rGr�r�smergestatusr�r�r�r�s/resolve command not applicable when not mergingFsresolve.mark-check)swarnrGTs,%s: path conflict must be resolved manually
s.resolver;�toolr>s:warning: the following files still have conflict markers:
c3�@># �UHnST"U5-S-v� M g7f)s  r�Nr�)r�rrjs  �r[r�rEns#�����9K�A�E�H�Q�K�'�%�/�9K�s�rGsconflict markers detectedsuse --all to mark anywayr�spath:%sc� �US:XagSUSS-$)Nsre_merges--re-merge s-%s rrr�)r�s r[�flag�resolve.<locals>.flag�s����+�#1�&��1�Q��/�/r>s(try: hg resolve %s%s)
r�s1arguments do not match paths that need resolving
s(no more unresolved files)
)@r+rerr�r�r��filterrrSr�promptchoice�
CanceledErrorr/rfr�r�
mergestatemodr%r�rd�MERGE_RECORD_UNRESOLVED�MERGE_RECORD_RESOLVED�MERGE_RECORD_UNRESOLVED_PATH�MERGE_RECORD_RESOLVED_PATHr�rr�r�r�r�rar�rbrirrQr��markr��wvfs�tryreadr�hasconflictmarkersr�r�r4�copyfile�FileNotFoundErrorrOr[�resolver8r��
backuppathr��changing_parents�
recordupdates�actions�anyrr`rUr�checkafterresolved)%rVrWrhrXr��flaglistrrU�unmarkr?�nostatus�remerge�actioncountrNr�ms�wctxri�mergestateinforr�r�rv�didworkrX�	markcheck�fdata�arlr�r�rrKr�r��unresolvedfrjs%   `                                @r[r[r[�s����J����%�D��m�m�K�);�<�G�9�?�?�A�H�1P�x�1P�.�C�v�X��d�6�$��V�(E�F�G�H�K��Q�����q�!>�?�@�@�	��	�b�m�m��1����>�?�����q�!7�8�t�D�D������q�!D�E�F�F��4�4�4�6����
�2�3�>�
�	
�
������F�G����)�)�!�L�/�:�:�������&�����)�)�!�L�/�:�:��$�����&�����)�)�!�L�/�:�:��"�"�4�(�H��
�����
�\�\�*�d�
+��
�
%�
%�
*�
*�4�
0���D�z���M�M�$��d�+��
�1�1�4�
�/�/�1L��6�6�9�
�4�4�7�
�� �A��Q�4�4��'��1��.�J�E�3��L�L�N��J�J�4�J� ��L�L�X��~�v�s�%�L�P��G�G��G�O��H�H�W�x��{�*�%�H�8��	�����	
����
�
%�
%�
*�
*�4�
0���	�	���t�}�}�/�/�1�T�[�[�@��"�"��D�E��
��D�z���M�M�$��d�+����������	�	�+�/D�E�I�� 3�3�!�	��A��Q�4�4���G��!�u��:�:��8�8�����G�G�A�}�G�G�H���G�G�A�}�I�I�J���U�m�H�H�H��G�G��J�K�"�1�+�&����� �I�I�-�-�a�0�E�!�4�4�U�;�;��q�E�]�%H�%H�H�*�1�1�!�4�����=�>�>�?������=�@�@�A��J�J�q�M����M�M�!�Q��_�5� �!7����'�3�9O� P�I��*�*�9�j�A��J�J�q�$�/��B�����I�I�K���K�K��K���);�);�B�a�)H��k�v��G�G��"���(�(��9K���	�
��H�$�S���&�&��2�3��6�7���
	�	�	���m�m�&�&�(�D�K�K�7���]�]�
+�
+�D�
1��'�'��j�j�l�K��N�2��4��D��4�=�4�a�1�6�6�$�<�1�+<��4�=�>�>�04�5��1�
�Q����5��M�M�$��d�3���A��Q�4�4� �0�
 �H�H�x�%O�x�!�4�8�8�A�;�g�d�1�g�x�%O�P�E��8�9���	�	�$��=��D���
�G�G�A�K�L�M������
�K
�N�$�$�&�K��
�	�	�!�3�4�5��"�"�4�(��J��g)�����B�A��
�I�I�K��)�����B2�
1��
>��5��&P�{
��s��
Ie!�c6�:&d� d�3d�e!�/d.�Ce!�'e�:#e!�e
�:e
�e!�e�Ae!�e�=e�	Ae!�6
d�e!�d�e!�
d�d�d+�+e!�.
d=�8e!�<d=�=e!�
e	�
e!�!
e/sreverts*revert all changes when no arguments givenstipmost revision matching dates revert to the specified revisions	no-backups"do not save backup copies of filess interactively select the changess[OPTION]... [-r REV] [NAME]...c��URS5(a6[R"USS/5 [R"XUS5US'URR5upEURS5(d6XQR:wa'[R"[S5[S5S9eURS5nU(a[R"X/S5n[R"X5nU(Gd4URS5(GdURS5(GdURS	5(d�URS
5(d�[S5nXQR:wa[S5n	[R"X�S9e[UR55n
UR!5nX�:waAU
(a[S
5UR#5-n	O;[S5UR#5-n	OU
(a[S5n	O[S5n	[R"X�S9e[R$"XU/UQ70UD6$)a restore files to their checkout state

.. note::

   To check out earlier revisions, you should use :hg:`update REV`.
   To cancel an uncommitted merge (and lose your changes),
   use :hg:`merge --abort`.

With no revision specified, revert the specified files or directories
to the contents they had in the parent of the working directory.
This restores the contents of files to an unmodified
state and unschedules adds, removes, copies, and renames. If the
working directory has two parents, you must explicitly specify a
revision.

Using the -r/--rev or -d/--date options, revert the given files or
directories to their states as of a specific revision. Because
revert does not change the working directory parents, this will
cause these files to appear modified. This can be helpful to "back
out" some or all of an earlier change. See :hg:`backout` for a
related method.

Modified files are saved with a .orig suffix before reverting.
To disable these backups, use --no-backup. It is possible to store
the backup files in a custom directory relative to the root of the
repository by setting the ``ui.origbackuppath`` configuration
option.

See :hg:`help dates` for a list of formats valid for -d/--date.

See :hg:`help backout` for a way to reverse the effect of an
earlier changeset.

Returns 0 on success.
r�r�s,uncommitted merge with no revision specifieds'use 'hg update' or see 'hg help revert'rMr�rFrGrr^rFs[uncommitted merge, use --all to discard all changes, or 'hg update -C .' to abort the mergesRuncommitted changes, use --all to discard all changes, or 'hg update %d' to updates:use --all to revert all files, or 'hg update %d' to updates5uncommitted changes, use --all to discard all changessuse --all to revert all files)rOrrQ�finddaterbrUrrrSrr/r�r#r�r`rUr�r�rd)rVrWrhrXr:rir�r�rnrNrar�s            r[rdrd�s���f�x�x�����,�,�T�6�E�7�C��&�&�r��f��>��U�����&�&�(�J�F��8�8�E�?�?�r�[�[�0����
�=�>��=�>�
�	
�
�(�(�5�/�C�
��)�)�$��y�A��
�
�
�t�
)�C�	
��8�8�I����8�8�I����8�8�E�?�?��8�8�M�"�"��4�5��
�����;��D��"�"�3�2�2��D�K�K�M�"���x�x�z���>���A���g�g�i�	 ���8���g�g�i�	 ����M�N�D��5�6�D����s�.�.��>�>�"�C�7�$�7�$�7�7r>�rollbacksignore safety measuresc���URSS5(d[R"[S5SS9eUR	URS5URS5S9$)	a^roll back the last transaction (DANGEROUS) (DEPRECATED)

Please use :hg:`commit --amend` instead of rollback to correct
mistakes in the last commit.

This command should be used with care. There is only one level of
rollback, and there is no way to undo a rollback. It will also
restore the dirstate at the time of the last transaction, losing
any dirstate changes since that time. This command does not alter
the working directory.

Transactions are used to encapsulate the effects of all commands
that create new changesets or propagate existing changesets into a
repository.

.. container:: verbose

  For example, the following commands are transactional, and their
  effects can be rolled back:

  - commit
  - import
  - pull
  - push (with this repository as the destination)
  - unbundle

  To avoid permanent data loss, rollback will refuse to rollback a
  commit transaction if it isn't checked out. Use --force to
  override this protection.

  The rollback command can be entirely disabled by setting the
  ``ui.rollback`` configuration setting to false. If you're here
  because you want to use rollback and it's disabled, you can
  re-enable the command by setting ``ui.rollback`` to true.

This command is not intended for use on public repositories. Once
changes are visible for pull by other users, rolling a transaction
back locally is ineffective (someone else may already have pulled
the changes). Furthermore, a race is possible with readers of the
repository; for example an in-progress pull from the repository
may fail if a rollback is performed.

Returns 0 on success, 1 if no rollback data is available.
r<rqs)rollback is disabled because it is unsafes)see `hg help -v rollback` for informationrMrKr�)rYr�)rrr�r�rollbackrO)rVrWrXs   r[rsrssZ��d�=�=���,�,��k�k�
�:�;�=�
�	
��=�=����� 3�4�8�8�G�;L�=�M�Mr>r�)r�rHc�*�[R"U5nURSU5nUR5 UR	SSUR
5 UR
URURS9 SSS5 g!,(df   g=f)a�print the root (top) of the current working directory

Print the root directory of the current repository.

.. container:: verbose

  Template:

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

  :hgpath:    String. Path to the .hg directory.
  :storepath: String. Path to the directory holding versioned data.

Returns 0 on success.
r�sreporootr�)�hgpath�	storepathN)	r+rerr�r�r'r�r��spath)rVrWrXrs    r[r'r'Qse��.����%�D�	���g�t�	$��
����
����g�t�y�y�1�
���t�y�y�D�J�J��7�
%�	$�	$�s�AB�
Bsserves	accesslogs#name of access log file to write tosdaemonsrun server in backgroundsdaemon-postexecsused internally by daemon mode�Eserrorlogs"name of error log file to write tosports!port to listen on (default: 8000)sPORTsaddresss.address to listen on (default: all interfaces)sADDRs0prefix path to serve from (default: server root)r�s6name to show in web pages (default: working directory)sNAMEsweb-confs3name of the hgweb config file (see 'hg help hgweb')swebdir-confs*name of the hgweb config file (DEPRECATED)spid-files#name of file to write process ID to�stdiosfor remote clients (ADVANCED)s	cmdservers	templatessweb templates to usesTEMPLATEsstylestemplate style to usesSTYLE�6sipv6suse IPv6 instead of IPv4scertificatesSSL certificate files	print-urlsstart and print only the URLs[OPTION]...)rHrIr|c���[R"USS/5 [R"U5nUS(a0UR(a[
R"[S55eUS(a�Uc[
R"[S55eSnURclURS	S
5n[R"5nU(a[R"XU5(aSnO[S5U-nURU5 [ R""XUS
9nUR%5 g[&R("XU5n[&R*"X(R,UR.S9$)aestart stand-alone webserver

Start a local HTTP repository browser and pull server. You can use
this for ad-hoc sharing and browsing of repositories. It is
recommended to use a real web server to serve a repository for
longer periods of time.

Please note that the server does not implement access control.
This means that, by default, anybody can read from the server and
nobody can write to it by default. Set the ``web.allow-push``
option to ``*`` to allow everybody to push to the server. You
should use a real web server if you need to authenticate users.

By default, the server logs accesses to stdout and errors to
stderr. Use the -A/--accesslog and -E/--errorlog options to log to
files.

To have the server choose a free port number to listen on, specify
a port number of 0; in this case, the server will print the port
number it uses.

Returns 0 on success.
�stdio�	cmdservers	print_urls%cannot use --print-url with --verboseryNrTFrsserver.allow-hidden-accessTsEignoring request to access hidden changeset by unauthorized user: %s
)�accesshidden)�initfn�runfn)rrQr+rer�rrSr�	RepoError�
filtername�
configlistr:�getuserr/�ismemberr�r6�	sshserver�
serve_foreverr0�
createservice�
runservicer��run)	rVrWrXr~�allowr�rnrw�services	         r[�server�os:��d�(�(��w��
�F�����%�D��L��b�j�j����q�!I�J�K�K��H�~��<��/�/��J�K��
����?�?�"��M�M��!>��E��#�#�%�D���)�)�"�E�:�:�#���3���	��������%�%�b�\�J��	������"�"�2�T�2�G����T�,�,�g�k�k�J�Jr>sshelves7mark new/missing files as added/removed before shelving�unknowns!store unknown files in the shelve�cleanupsdelete all shelved changess%shelve with the specified commit dates"delete the named shelved change(s)�keeps1shelve, but keep changes in the working directoryslist current shelves�messagesuse text as shelve messages)use the given name for the shelved commit�patchs]output patches for changes (provide the names of the shelved changes as positional arguments)sinteractive moder�skoutput diffstat-style summary of changes (provide the names of the shelved changes as positional arguments)shg shelve [OPTION]... [FILE]...c
�X^^�[R"T5mSS14SS14SS14SS14SS14SS14SS14S	S14S
S14SSS14SSS14/mUU4S
jnU"S5(a<U(a[R"[	S55e[
R"X5$U"S5(a[
R"XU5$U"S5(a[
R"XUT5$U"S5(d
U"S5(a[
R"XUT5$[
R"XUT5$)a�save and set aside changes from the working directory

Shelving takes files that "hg status" reports as not clean, saves
the modifications to a bundle (a shelved change), and reverts the
files so that their state in the working directory becomes clean.

To restore these changes to the working directory, using "hg
unshelve"; this will work even if you switch to a different
commit.

When no files are specified, "hg shelve" saves all not-clean
files. If specific files or directories are named, only changes to
those files are shelved.

In bare shelve (when no files are specified, without interactive,
include and exclude option), shelving remembers information if the
working directory was on newly created branch, in other words working
directory was on different branch than its first parent. In this
situation unshelving restores branch information to the working directory.

Each shelved change has a name that makes it easier to find later.
The name of a shelved change defaults to being based on the active
bookmark, or if there is no active bookmark, the current named
branch.  To specify a different name, use ``--name``.

To see a list of existing shelved changes, use the ``--list``
option. For each shelved change, this will print its name, age,
and description; use ``--patch`` or ``--stat`` for more details.

To delete specific shelved changes, use ``--delete``. To delete
all shelved changes, use ``--cleanup``.
rlscreater�r�r�r1r�r�r�r�r�r�c�>�TRU5(a@TH9upTU(dMX;dM[R"[S5X4-5e gg)Ns2options '--%s' and '--%s' may not be used togetherT)rOrrSr)�optr��	allowable�
allowablesrXs   ��r[�checkopt�shelve.<locals>.checkoptqs`����8�8�C�=�=� *�����7�7�s�3��*�*��-���(�	#���!+��r>s+cannot specify names when using '--cleanup')r+rerrSr�	shelvemod�
cleanupcmd�	deletecmd�listcmd�	patchcmds�	createcmd)rVrWrhrXr�r�s   ` @r[r1r1sR���x����%�D�	�	�{�#�	�i�[�!�	�j�\�"�	�Y�K� �	�9�+��	�9�+��	�7�)��	�i�[�!�	�9�+��	�H�g�&�'�	�7�G�$�%�
�J���
�����"�"��@�A��
��#�#�B�-�-�	�)�	�	��"�"�2�T�2�2�	�'�	�	�� � ��4��6�6�	�(�	�	�x��0�0��"�"�2�T�4�8�8��"�"�2�T�4�8�8r>snothings	status|stsshow status of all filessmodifiedsshow only modified filessaddedsshow only added filessshow only removed filessdeletedsshow only missing filessshow only files without changess%show only unknown (not tracked) filessshow only ignored files�terses$show the terse output (EXPERIMENTAL)s6show source of copied files (DEFAULT: ui.statuscopies)sshow difference from revisions$list the changed files of a revisionc
��[R"USS5 [R"U5nUR	S/5nUR	SS5nUR	S[
5nU[
LaU(aSnOUR
SS5nU(a(U(a![S	5n[R"U5eU(a@[R"X/S
5n[R"XS5nUR5n	O/[R"XS
5n[R"X5up�Sn
UR!SS5(aUR#SS5n
[R$"U['U5U
S
9nUR	S5(aSnOSnSR)5n
U
Vs/sHo�R	U5(dMUPM nnUR	S5(a'X�R*=(a	 U
SSS/-=(d U
-
nU(dUR*(aU
SSnOU
SSn[R,"X�U5nU(agUR/U	R15UR15USU;=(d SU;SSUR	S5S9n[R2"UU5nOKUR/U	R15UR15USU;SU;SU;UR	S55n[5U
[R6"S5U
Vs/sHn[9UUR;S55PM  sn5n0nUR#SS5nUR	S 5bUR	S 5nU=(d UR	S5=(a UR	S!5(+nU(a[<R>"X�U5nSnUR@(dUR#SS"5(aAURC5(d,UR	S5(d[RD"U5nURGS#5 URIS#U5nS$U-nUR	S!5(+nUH�unnnUU;dMS%U-nUH�nURK5 URMUS&9 UROS'US(9 URQUS#S)UUS*9 URCUU"U5-US*9 UU;a1UROUUS+9 URCS,U-U"UU5-S-S*9 U(dM�URSUU5 M� M� U(aURUU5 URW5 gs snfs snf).a�show changed files in the working directory

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.

r�r�rsr�r>r�rhsstatus.tersescannot use --terse with --revr�Nsstatus.relative)r`�forcerelativevaluer�r�r�s4modified added removed deleted unknown ignored cleanr��r��rr�Tr�)rarmr�r�sMAR!?IC�utf8r<sstatuscopiesr�s	no_statussstatus.verbosesstatusr�sstatus.r�rz)�itemtyper�r�r�)rQs  %s�
status.copied),rr�r+rerO�	_NOTTERSEr�rrrSr/r�r#r�r�r��	hasconfigrrfr�r�r�rdrUr��tersedirr��iterbytestr�getattr�decoder�
pathcopiesr�r��readmorestatusr�rr�rr�r��
formatfile�formatfooterr�)rVrWrhrXr�r��tersernr�r�r�rjr�r
�kr?riryrw�changestatesr��show_copies�
morestatusrr��showcharr2r�r�r�rs                               r[rUrU�s���T�!�!�$��x�8�����%�D��8�8�F�B��D�
�X�X�i��
%�F��H�H�X�y�)�E��	����E��I�I�k�?�;�E����0�1�����s�#�#�	��)�)�$��)�D���#�#�D�$�7���w�w�y���)�)�$�i�@���'�'��3�
����	�|�|�K�!3�4�4��]�]�;�8J�K���"�"�� ��J�-��H��x�x�	�������
D�
J�
J�
L�F��-�v�!���!��A�v�D�-��x�x�������6�f�R�a�j�H�:�5�@�&�@���
�8�8��"�1�:�D��"�1�:�D��
�
�d�$�'�A���{�{��I�I�K��I�I�K�
��$��/�$�%�-������+�.��
������e�,���{�{��I�I�K��I�I�K�
��$������$���H�H�[�!�
�������Z�(�28�9�&�Q���q�x�x��'�	(�&�9��L��D��-�-���7�K��x�x�	��&��h�h�y�)���2�$�(�(�6�"2��D�H�H��=�9�K��� � ��Q�/���J�	���r�}�}�[�2C�D�D����
�
�����#�#��+�+�D�1�
��H�H�Y��	���i��	&�B�
�#�+�C��8�8�L�)�)�H�*���t�U��D�=���&�E��������
�
�t�
�$�����q��1����X�y�&�$�e��L�����x��{�*�%��8���9��G�G�4��7�G�+��H�H� �3��(�4��7�*;�;�.����:��)�)�!�R�0��+�$�����#��F�F�H��i.��L	:s�,U:�	U:� %U?ssummary|sumsremotescheck for push and pulls
[--remote]c
�^^^^0^1^2^3�TRS5 TSnUR5nUSR5n/n[RRT5n[
UR55nUGH�nTR[S5UR5U4-[ R""U5S9 TRSRUR%55SS9 UR'5(aUR)UR'55 UR5S	:XaE[+T5(dTR[S
55 OTR[S55 UR-5(aTR[S55 UR/5(a@U4S
jUR155nTRSSRU5-S-5 TRS5 UR35(dGM�TR5SUR35R75SR95-S-SS9 GM� UR;5n
TR=U
5n[S5U
-nU
S:waTRUSS9 OTR5USS9 U(a�TR>nTR[S5SS9 UbZUU;a3TRSU-[&R@S9 URCU5 O!TRSU-[&R@S9 UHnTRSU-SS9 M TRSSS9 TR5SS9nTRDRG5n//nnURI5H�unn
U
URJ;a-URJRCU
5 URMU5 OURMU5 UURN;dMfURNRCU5 M� URPV
s/sH*o�RSU
5RU5(dM(U
PM, nn
TRW[S5S5URX4TRW[S5S5URN4TRW[S 5S!5URJ4TRW[S"5S#5U4TRW[S$5S#5U4TRW[S%5S&5URZ4TRW[S'5S(5UR\4TRW[S)5S*5U4TRW[S+5S5U4/	n/nUH,unn
U
(dMURMU[+U
5-5 M. SRU5nS,nTR^RaS-5(aU[S.5-
nTR^RaS/5(aU[S05-
nO�[+U5S1:�aU[S25-
nO�X�SR;5:waU[S35-
nO�USRc5(a#UTR=U
SS49;aU[S55-
nOlURX(dHURN(d7URJ(d&U(dU(dU(dU[S65-
nSnOX^;aU[S75-
nU(a[eS8U55nO[fRhnURj"T5:�aUS9[fRlU--
nU(a,TR5[S:5UR95-5 O+TR[S:5UR95-5 [+TRnRqUVs/sHnUR5PM snU55nUS:XaTR5[S;55 OKX^;aTR[S<5U-5 O(TR[S=5U[+U54-5 /n[+TRsS>55nU(aURM[S?5U-5 [+TRsS@55nU(aURM[SA5U-5 U(dU(a,TR5[SB5SRU5-5 [,Rt"T[,Rv5(aiSCHcn [+TRsU SD-55n![SE5[SF5[SG5SC.n"U!S:�dMITR5U"U U!-S-5 Me [xRz"TT5 TR}SH5(aSIun#n$O_SJun#n$[xR~"TT[�R�"T5S5Hun%n&U%(aSn#U&(dMSn$M U#(dU$(dgUUU4SKjn'U#(aU'"5um3m1m2m0n(O
S=m3=m1=m2=m0n(U0UUU1U2U3U4SLjn)U$(a
U)"5un*n+n,n-OS=n*=n+=n,n-TR}SH5(Ga=T2ceU-ce/nU((aURM[SM55 U-R�n&U&(a&URM[SN5[+U&5-5 U,=(d T2n.SOU.R�SP5;ai[&R�"TU.5n/U/SS:�a URM[SQ5U/S-5 U/S1S:�a URM[SR5U/S1-5 U(a-TR[SS5SRU5-5 OTR5[ST55 [xR~"TT[�R�"T5T3T1T2T04U*U+U,U-445 g![RaEn	SRU	R5n
TR[S5U
-5 /nSn	A	GN8Sn	A	ff=fs sn
fs snf)Ua<summarize working directory state

This generates a brief summary of the working directory state,
including parents, branch, commit status, phase and available updates.

With the --remote option, this will check the default paths for
incoming and outgoing changes. This can be time-consuming.

Returns 0 on success.
�summaryNrr�s6warning: merge state has unsupported record types: %s
sparent: %d:%s r�slog.tagr�s (empty repository)s (no revision checked out)s (obsolete)c3�N># �UHnTRUSU-5v� M g7f)s
trouble.%sNr�)r��instabilityrVs  �r[r��summary.<locals>.<genexpr>�s+�����#4�K�����m�k�&A�B�B�#4�s�"%s (r��)r�slog.summarysbranch: %s
r�s
log.branchs
bookmarks:slog.bookmarks *s [%s]T)rms%d modifiedsstatus.modifieds%d addedsstatus.addeds
%d removedsstatus.removeds
%d renamedr�s	%d copieds
%d deletedsstatus.deleteds
%d unknownsstatus.unknowns
%d unresolvedrGs%d subreposFr�s (graft in progress)supdatestates (interrupted update)rs (merge)s
 (new branch)rbs (head closed)s (clean)s (new branch head)c3�@# �UHoR5v� M g7fr�)r�)r�rs  r[r�r�-s���6�g��7�7�9�9�g�s�s (%s)scommit: %s
supdate: (current)
s#update: %d new changesets (update)
s3update: %d new changesets, %d branch heads (merge)
sdraft()s%d draftssecret()s	%d secretsphases: %s
)sorphanscontentdivergentsphasedivergents()sorphan: %d changesetss content-divergent: %d changesetssphase-divergent: %d changesets�remote)TT�FFc��>�[R"ST
S5nURn[R"T	0U5nUR/4n[R"T	X#S5upEU(a UVs/sHobRU5PM nnT
RS[R"UR5-5 T	RR5 [R "T	X$S9nSSS5 URXWUS4$![
Ra+ TRS5(aeURUSSS4s$f=fs snf!,(df   Nh=f)Nr�r�r�r�)r�r)r<rdrXr"rrr�rOr�rrW�debugr�rVr�r�findcommonincoming)r��sbranchr(r�r�r+r��	commonincrXrWrVs        ���r[�getincoming�summary.<locals>.getincomingts!����/�/�
�B�
�K���+�+��	7��G�G�D�"�d�+�E�
�K�K��$���)�)�$���F����15�6��#�L�L��%��D�6�
���'�'�*>�*>�t�x�x�*H�H�I�
�W�W�^�^�
�!�4�4�T�5�M�I���x�x���I�a�L�@�@�����	7��x�x��!�!���8�8�W�d�D�$�6�6�	7��7�
�
�s#�D�2E
�E�<E
�	E
�
E c�<>�SnSTR;aSnOSTR;aSnSnUb2[R"STTU5nURnURnOSnSn[
R"TTU/4S5upETU:waG[
R"T0UbUOU5nTRS[R"U5-5 O
TcX#SS4$TnTU:wd	T
b	T
U:waSnOT
nU(a!UVs/sHnTRU5PM nnTRR5 [ R""TXdUS9n	SSS5 X#UW	4$![Ra TRS5(aeX#SS4s$f=fs snf!,(df   NN=f)Nsdefault-pushr�r�r�r�)rr�)r�r<�get_unique_push_pathr�rXr"rrrr�rOr�r�rWrVr�rr)�dr�r+�dbranchr�r+�dotherr'r�rr�rXrWr��sotherrQrVs          �������r[�getoutgoing�summary.<locals>.getoutgoing�s����
���b�h�h�&��A�
�2�8�8�
#��A����=��/�/�
�D�"�a�H�D��8�8�D��k�k�G��D��G��)�)�$��w��m�T�J����T�>�
1�����r�4�3C�4��N��

�H�H�+�g�.B�.B�4�.H�H�I�
�^��$��,�,��F��T�>�g�1�g��6H��F��F��04�5���D�K�K��$��D�5�
�W�W�^�^�
� �3�3��f���H���f�h�.�.��)�?�?�
1��8�8�H�%�%���d�D�0�0�
1��6�
�
�s$�E�7F�.F
�0F�F�
Fs1 or more incomings%d outgoingr�rWs%d incoming bookmarkss%d outgoing bookmarkssremote: %s
sremote: (synced)
)Er�rUr�rPr%r�r��
unresolvedr�UnsupportedMergeRecordsr��recordtypesr�rr�r�r#�changesetlabelsr3r
r�r�r'�
isunstable�
instabilitiesr�rU�
splitlinesr�rXrYr��activebookmarklabelr<rbrr�rkr�rjr-r.rar�rirlrm�vfs�existsrqr�r*�public�newcommitphase�
phasenamesrMr�r�rsrtr�summaryhooksrO�summaryremotehooksr+rerrXr�)4rVrWrXr�rU�pnode�marksrgr�rHrwrr�rXrjrir�rUr��copied�renamedr�r4r�r�r�cleanworkdir�pendingphase�pctx�newrYrZ�trouble�
numtrouble�
troublemsg�
needsincoming�
needsoutgoingr�r�r�r�r�r+r�r�rr(�countsr�r�r�rQs4```                                             @@@@r[r�r��s�
���(�H�H�Z��
�t�*�C��k�k�m�G��A�J�O�O��E��E�	+�
�
%�
%�
*�
*�4�
0���"�-�-�/�*�
�
��	���
�� �A�E�E�G�Q�<�/��,�,�Q�/�	�	
�	������1�6�6�8�$�J��7��;�;�=�=��L�L�����'��5�5�7�b�=��t�9�9�����1�2�3�����8�9�:��:�:�<�<��H�H�Q�~�&�'��<�<�>�>��#$�?�?�#4��M�
�H�H�U�U�Z�Z�
�6�6��=�>�
������=�=�?�?��I�I��q�}�}��1�1�3�A�6�<�<�>�>��F�$�
�
�5�>�Z�Z�\�F�
�
�
�f�
%�F�	�/��V�#�A�
���
����-��(�
�	�	�!�=�	�)���%�%��
����=�!���9������������y�/L�/L��M����V�$�����F�*�)�2O�2O��P��A��H�H�T�A�X�_�H�5��
����o��.�
�[�[��[�
&�F��
�
����A��"�G�F����	���1�������N�N�!�!�!�$��N�N�1���M�M�!��������L�L����"���|�|�:�|�!�w�w�q�z�'7�'7�'9�A�|�D�:�
���!�N�#�%7�	8�&�/�/�J�	���!�K�.�/�	2�F�L�L�A�	���!�M�"�$5�	6����G�	���!�M�"�$4�	5�w�?�	���!�L�/�#3�	4�f�=�	���!�M�"�$5�	6����G�	���!�M�"�$5�	6����G�	���!�$�%�'<�	=�z�J�	���!�N�#�%7�	8�$�?�
�F�	�A����1��1�
�H�H�Q��Q��Z� ��	�
�
�1�
�A��L��x�x���}�%�%�	�Q�&�
'�'���x�x���~�&�&�	�Q�'�
(�(��	�W���	�	�Q�{�^���	�1�:�$�$�&�	&�	�Q��
 � ��	���	 �	 �	"�	"�u��0@�0@��t�1A�1�(�	
�Q� �
!�!������<�<��>�>����	�Q�{�^�����	�	�	�Q�$�
%�%����6�g�6�6���}�}���f�+�+�B�/�/�	�X��)�)�,�7�
7�7���
�	�	�!�O�$�q�w�w�y�0�1�	����?�#�a�g�g�i�/�0�����"�"�G�#D�G�D�D�I�I�K�G�#D�f�M��C��a�x�
�	�	�!�*�+�,�	�	�
����:�;�c�A�B�	���
�E�F��C��K� �
!�	
�
	�A���	�	�*�%�&�E��	����;��%�'�(�
����;�'�
(�F�
�	����<��6�)�*���
�	�	�!�O�$�u�z�z�!�}�4�5����$�� 9� 9�:�:�J�G��T�Y�Y�w���7�8�J��5�6�%&�'J�%K�#$�%F�#G��J�
�A�~��	�	�*�W�-�
�:�U�B�C�K�����T�"��x�x����'1�$�
�}�'3�$�
�}��.�.���h�*�*�4�0�$�
�D�A�q�� $�
��q� $�
�

��]��A�*�7B�}�4�����H�;?�?��?��?�6�?�I��)/�)/�V�*5�-�'��g�v�x�-1�1��1�w�1��(��x�x�����!�!�!��#�#�#����
�H�H�Q�,�-�.������
�H�H�Q�~�&��Q��/�0�� �&���5�>�>�-�8�8��&�&�t�U�3�F��a�y�1�}�����3�4�v�a�y�@�A��a�y�1�}�����3�4�v�a�y�@�A���H�H�Q��'�5�:�:�a�=�9�:�
�I�I�a�-�.�/����
�����T�"�
�W�f�i�0�
�7�F�H�-�	
�	��Q	�(�(���I�I�a�m�m�$��
���
�H�I�A�M�	
��
����X;��~$Es*�q �'r<�7r<�s� r9�4:r4�4r9rcs	force tagsmake the tag localsrevision to tagsremovesremove a tagsuse text as commit messages8[-f] [-l] [-m TEXT] [-d DATE] [-u USER] [-r REV] NAME...c
��	�[R"USS/5 UR5 UR5 SnU4U-Vs/sHofR	5PM nn[U5[[
U55:wa[R"[S55eUH@n[R"XS5 U(aM#[R"[S55e URS5(aUSnURS5nURS5(Ga;URS5(aS	n	OS
n	UH�nURU5S
:XaM[R"X5n
X�SUR :Xa"[R"[S5U-5eURU5(d"[R"[S
5U-5eURU5U	:wdM�U	S
:Xa"[R"[S5U-5e[R"[S5U-5e SnU(dSSR#U5-nOTURS5(d>UH8nXqR%5;dM[R"[S5U-5e URS5(d�UR&R)5up�X�R :wa[R*"[S55eUR-5n
URS5(d+U
(a$X�;a[R"[S55e[.R0"X5R35nUc[R"[S55eURS5(d)U[ :Xa[R"[S55eU(dSSR#U5[5U54-nURS5nU(a[6R8"U5nURS5(aSnOSn[R:"S!SU0UD6n[R<"UUUUURS5URS5UUS 9 SSS5 SSS5 gs snf!,(df   N=f!,(df   g=f)"a�add one or more tags for the current or given revision

Name a particular revision using <name>.

Tags are used to name particular revisions of the repository and are
very useful to compare different revisions, to go back to significant
earlier versions or to mark branch points as releases, etc. Changing
an existing tag is normally disallowed; use -f/--force to override.

If no revision is given, the parent of the working directory is
used.

To facilitate version control, distribution, and merging of tags,
they are stored as a file named ".hgtags" which is managed similarly
to other project files and can be hand-edited if necessary. This
also means that tagging creates a new commit. The file
".hg/localtags" is used for local tags (not shared among
repositories).

Tag commits are usually made at the head of a branch. If the parent
of the working directory is not a branch head, :hg:`tag` aborts; use
-f/--force to force the tag commit to be based on a non-head
changeset.

See :hg:`help dates` for a list of formats valid for -d/--date.

Since tag names have priority over branch names during revision
lookup, using an existing branch name as a tag name is discouraged.

Returns 0 on success.
r<r�r{stag names must be uniquercs/tag names cannot consist entirely of whitespacerGrerzr{rstag '%s' is already removedstag '%s' does not existstag '%s' is not a global tagstag '%s' is not a local tagr'sRemoved tag %sr�r�s)tag '%s' already exists (use -f to force)suncommitted merges;working directory is not at a branch head (use -f to force)Nscannot tag working directoryscannot tag null revisionsAdded tag %s for changeset %sr�s
tag.removestag.addrAr�rCr�)rrQrar3r�r�r�rrSrr/r�rO�tagtype�tagsmod�findglobaltagsrr�r3rbrUrQrYr#r�r�r	r9rRrEr�)rVrW�name1r�rX�rev_r�rrG�expectedtype�alltagsr�rirjr�r�rArDs                  r[r�r��s��^�(�(��x�%��A�	
����t�y�y�{���%*�H�u�$4�5�$4�q����$4��5��u�:��S��Z��(��"�"�1�%@�#A�B�B��A��!�!�$�6�2��1��&�&��H�I�����8�8�E�?�?���;�D��(�(�9�%���8�8�H����x�x�� � �'��(�����<�<��?�i�/�%�4�4�R�>�G��z�!�}����3�#�.�.��<�=��A����|�|�A����*�*�1�-G�+H�1�+L�M�M��<�<��?�l�2�#�y�0�#�.�.��=�>��B���$�.�.��<�=��A����$�D��+�e�j�j��.?�?������'�"�"����	�	��#��*�*��F�G�!�K����
�x�x�� � ��]�]�*�*�,�F�B��[�[� ��&�&�q�)=�'>�?�?��%�%�'�F��8�8�G�$�$��B�4D��&�&��-�����#�#�D�/�4�4�6���<��"�"�1�%D�#E�F�F����(�#�#�����"�"�1�%@�#A�B�B��6��
�
�5�!��d��:��G�
�x�x������%�%�d�+�D��8�8�H���$�H�!�H��(�(�C�(�C�d�C����������H�H�W���H�H�V����		
�k#����5�#�{����sJ�S�S�S�A#S�D1S�;BS�HS�/S�S�
S	�S�
S$c
���URS5 URS[R"U55nURn[UR
55H�upVU"U5nSnURU5n	U	(aU	S:XaSn	OSU	-nUR5 URUS9 URSSXXS	9 S
S[R"U5-
-S-n
URUR(+S
U
URR!U5UUS	9 URUR"=(a U	SSX�S	9 UR%S5 M� UR'5 g)a�list repository tags

This lists both regular and local tags. When the -v/--verbose
switch is used, a third column "local" is printed for local tags.
When the -q/--quiet switch is used, only the tag name is printed.

.. container:: verbose

  Template:

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

  :type:    String. ``local`` for local tags.

Returns 0 on success.
rRstags.normalr{r>stags.r�rcr�r�r��s %5d:%sr�rs %sr�N)r�rr+rer��reversed�tagslistr�r�rr�rr�r�r�rMr�r�r�r�)rVrWrXrr�r�r�hnr�r�r�s           r[r3r3ws<��6�H�H�W��	���g�x�3�3�D�9�	:�B��j�j�G������)���
�Q�Z�����,�,�q�/���'�Y�.��G��w�&�E�
����
�
�
��
��
�������/��b�8�,�,�Q�/�/�0�:�=��
������L����N�N���q�!���
	�	
�	����J�J�"�7�G�V�W�	�	
�	�����1*�2�F�F�Hr>rPs
show patchsgitsuse git extended diff formats	[-p] [-g]c��[R"U5n[R"XU5nUR	US5 UR5 g)ashow the tip revision (DEPRECATED)

The tip revision (usually just called the tip) is the changeset
most recently added to the repository (and therefore the most
recently changed head).

If you have just made a commit, that commit will be the tip. If
you have just pulled changes from another repository, the tip of
that repository becomes the current tip. The "tip" tag is special
and cannot be renamed or assigned to a different changeset.

This command is deprecated, please use :hg:`heads` instead.

Returns 0 on success.
rPN)r+rer#r�r?r@)rVrWrXr�s    r[rere�s@��4����%�D��-�-�b��=�I�
�N�N�4��<� �
�O�O�r>sunbundles6update to new branch head if changesets were unbundleds[-u] FILE...c��U4U-n[R"XU5n[R"XXTRS5SS5(agg)z�apply one or more bundle files

Apply one or more bundle files generated by :hg:`bundle`.

Returns 0 on success, 1 if an update has unresolved files.
rNrr)r�unbundle_filesrrO)rVrW�fname1�fnamesrXrs      r[�unbundler��sH��(�Y��
�F��%�%�b��7�H����B�h����0B�D�$�O�O��r>sunshelves&abort an incomplete unshelve operations)continue an incomplete unshelve operations#use interactive mode (EXPERIMENTAL)skeep shelve after unshelvings&restore shelved change with given namerHsspecify merge tools+set date for temporary commits (DEPRECATED)s&hg unshelve [OPTION]... [[-n] SHELVED]c��UR5 [R"X/UQ70UD6sSSS5 $!,(df   g=f)aGrestore a shelved change to the working directory

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.
N)rar��unshelvecmd)rVrW�shelvedrXs    r[�unshelver�s0��V
�����$�$�R�@��@�4�@�
���r�sshelvedstatesunshelve already in progress)r�r�rRr�r�supdate|up|checkout|cos'discard uncommitted changes (no backup)schecksrequire clean working directorysmerge uncommitted changessrevisions[-C|-c|-m] [-d DATE] [[-r] REV]c��[R"USSS5 URS5nURS5nURS5nURS5nURS5nU(a&U(a[R"[S55eUR
SS5(a<U(d5U(d.U(d'[R"[S	5[S
5S9eUbUS
:XaUnU(a"Ub[R"[S55eSn	U(d
Ub
U(dSn	OU(d
Ub	U(dSn	UR5 [R"U5 U(a[R"XU5nUn
U(a[R"X/S5n[R"XSS9nUR5nUR5nSURSS
50n
UR!U
S5 ["R$"XXJXiS9nSSS5 U(apUR'5SSnUR)[S5U-5 UR+5(a+[,R."XU5nUR)SU-5 WsSSS5 $!,(df   N�=f!,(df   g=f)aupdate working directory (or switch revisions)

Update the repository's working directory to the specified
changeset. If no changeset is specified, update to the tip of the
current named branch and move the active bookmark (see :hg:`help
bookmarks`).

Update sets the working directory's parent revision to the specified
changeset (see :hg:`help parents`).

If the changeset is not a descendant or ancestor of the working
directory's parent and there are uncommitted changes, the update is
aborted. With the -c/--check option, the working directory is checked
for uncommitted changes; if none are found, the working directory is
updated to the specified changeset.

.. container:: verbose

  The -C/--clean, -c/--check, and -m/--merge options control what
  happens if the working directory contains uncommitted changes.
  At most of one of them can be specified.

  1. If no option is specified, and if
     the requested changeset is an ancestor or descendant of
     the working directory's parent, the uncommitted changes
     are merged into the requested changeset and the merged
     result is left uncommitted. If the requested changeset is
     not an ancestor or descendant (that is, it is on another
     branch), the update is aborted and the uncommitted changes
     are preserved.

  2. With the -m/--merge option, the update is allowed even if the
     requested changeset is not an ancestor or descendant of
     the working directory's parent.

  3. With the -c/--check option, the update is aborted and the
     uncommitted changes are preserved.

  4. With the -C/--clean option, uncommitted changes are discarded and
     the working directory is updated to the requested changeset.

To cancel an uncommitted merge (and lose your changes), use
:hg:`merge --abort`.

Use null as the changeset to remove the working directory (like
:hg:`clone -U`).

If you want to revert just one file to an older revision, use
:hg:`revert [-r REV] NAME`.

See :hg:`help dates` for a list of formats valid for -d/--date.

Returns 0 on success, 1 if there are unresolved files.
ra�checkr$r�r�r9rhr�syou must specify a destinationsfor example: hg update ".::"rMNr>s'you can't specify a revision and a daterGsnoner�)rhr;r=r�)ra�updatecheckr�supdated to hidden changeset %s
s(%s)
)rr�rOrrSrrra�clearunfinishedrpr/r�r#r�r��hiddenr[r"�
updatetotallyrr�r'r(�_getfilteredreason)rVrWr�rXr�r�rarr$rrr�rrlrv�ctxstr�
obsfatemsgs                 r[rrHs4��J�!�!�$���'�B�
�(�(�5�/�C��8�8�F��D��H�H�W��E��H�H�W��E��H�H�W��E�
�t����q�!D�E�F�F�	�}�}�[�"7�8�8��C���"�"��3�4��6�7��
�
�{�c�S�j���������q�!K�L�M�M��K���!�%���	�%�#�E���	
��������%���"�"�2�T�2�C�����-�-�d�E�9�E�D��"�"�4�d�;���g�g�i�������+�T�X�X�f�c�-B�C�	�
�
�
�y�)�
4��"�"��#�5��C�5���W�W�Y�s��^�F��G�G�A�9�:�V�C�D��|�|�~�~�$�7�7��c�J�
����	�J�.�/��1
��5�
4��
��s&�B1J?�
J.�$BJ?�.
J<	�8J?�?
K
r7)r>sfullFs"perform more checks (EXPERIMENTAL)c�f�SnUS(a[Rn[R"X5$)ayverify the integrity of the repository

Verify the integrity of the current repository.

This will perform an extensive check of the repository's
integrity, validating the hashes and checksums of each entry in
the changelog, manifest, and tracked files, as well as the
integrity of their crosslinks and indices.

Please see https://mercurial-scm.org/wiki/RepositoryCorruption
for more information about recovery from corruption of the
repository.

For an alternative UI with a lot more control over the verification
process and better error reporting, try `hg help admin::verify`.

Returns 0 on success, 1 if errors are encountered.
N�full)�	verifymod�VERIFY_FULLr"r5)rVrWrX�levels    r[r5r5�s*��0
�E��F�|��%�%��
�9�9�T�!�!r>c�0�UR(aURS5 URS[R"U55nUR5 UR
S[S5[R"55 [S5nUR(dURU5 UR(aUR[S55 /n/n/n[[R"55HiupxURU5 UR[R"U5=(d S5 UR[R "U55 Mk UR#SSS	9n	U(a�S
[%SU55-n
[S5[S
5/n['XEU5H�up�nU	R5 U	R)URSX�5 UR(aU	RSX�-5 U	R+US9 U	R)UR=(a U
SSU
5 UR(dM�U	RS5 M� U	R-5 UR-5 g)a�output version and copyright information

.. container:: verbose

  Template:

  The following keywords are supported. See also :hg:`help templates`.

  :extensions: List of extensions.
  :ver:     String. Version number.

  And each entry of ``{extensions}`` provides the following sub-keywords
  in addition to ``{ver}``.

  :bundled: Boolean. True if included in the release.
  :name:    String. Extension name.
rDsvers'Mercurial Distributed SCM (version %s)
s�(see https://mercurial-scm.org for more information)

Copyright (C) 2005-2025 Olivia Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
s
Enabled extensions:

Ns
extensionss{name}
r�s
  %%-%ds  c3�8# �UHn[U5v� M g7fr�)r�)r�rs  r[r��version_.<locals>.<genexpr>s���%<�e��c�!�f�f�e�s�sexternalsinternalr�s%s  )�bundledr�r�)r�r�rr+rer�r�rr4�versionr�r�r�rr��
moduleversion�ismoduleinternalr�r�r�r�r�r�)rVrXr�licenser��vers�isinternalsr�moduler�r��placesr�vrs               r[�version_r�s���2
�z�z�
�����	���j�(�"6�"6�t�"<�	=�B��L�L�N��H�H���=�>�������	O��G��8�8�
�����	�z�z�
����/�0�1��E�
�D��K��z�4�4�6�7���
���T�����J�,�,�V�4�<��=����:�6�6�v�>�?�8�
���=�{��	3�B���#�%<�e�%<�"<�<���K�.�!�K�.�1���5��4�G�A�!��L�L�N��L�L����W�g�9��z�z�����6�9�,�-��G�G�A�G���L�L����)��6�5�!�<��z�z�z������5��F�F�H��F�F�Hr>c���UVs/sHo3[;dMUPM nnU(a.UR[S5USRU54-5 [R	U5 gs snf)z.Load command functions from specified cmdtables&extension '%s' overrides commands: %s
r�N)r�r�rr�r)rVr�cmdtabler�rls     r[�loadcmdtabler"'s[�� (�9���5�L���I�9��
���
�8�9��T�Y�Y�y�)�*�
+�	
�
�L�L����
:s
�
A)�A)rD)	NNNNNNNNNr�r�)r>)NNNNNNN)r�)r{)��
__future__rr%r&rK�i18nrr�rrrr	r
�r�admin_commands_modrr
rrrrrr�rr�debugcommandsmodrrrrrrrrrrrrr r!r"r#r$r\r%rPr&r'r(r)r*r+r,r-r.r/r0r1r�r2�statemodr3r�r4r5rr6�	cmd_implsr7r��
configurationr8r��utilsr9r:r;r<r�r�_table�INTENT_READONLY�encodingmoder��
dryrunopts�
remoteoptsr-�
commitopts�commitopts2�commitopts3�
formatteropts�templateopts�logoptsr��
diffwsopts�	diffopts2�
mergetoolopts�similarityopts�subrepoopts�debugrevlogopts�CATEGORY_CHANGE_MANAGEMENTr\�CATEGORY_WORKING_DIRECTORYrgro�CATEGORY_FILE_CONTENTSr��CATEGORY_IMPORT_EXPORTr*r5r4�CATEGORY_CHANGE_NAVIGATIONr��CATEGORY_CHANGE_ORGANIZATIONr�rXr�r5r>�CATEGORY_REPO_CREATIONrP�CATEGORY_COMMITTINGr8r\�
CATEGORY_HELPr�r�r�r�r�r�r�r��
addunfinished�hgabortgraftr�rQrmr��CATEGORY_REMOTE_REPO_MANAGEMENTr�r�r�r��CATEGORY_MAINTENANCEr�r�rrUr�r�rHr r/r9r<r�r[rdrsr'r�r�rUr�r�rer�r�hgabortunshelve�hgcontinueunshelverr"r�r>r[�<module>rLsU/��#�	�	�
����-�-�-�-�-�-�-�-�-�-�-�-�^+����	�����
�
%�
%�
,�
,�-����
�
'�
'�
.�
.�/�
�
�
�E�
"���+�+��	
���	�
E�F�	�'�
��	�&�#�q�4�5�q��y�A����	�Q�	
�	�
�8�T�1�/�0�1�	�:�t�Q�:�;�<����	
�
F�G�	�'�
��	��
�	�
D�E�	�)���	��
�	�
<�=�	�'�
��	�(�D�!�6�7�8��+�t�Q�0�1�2������	�
%�&�	�)���	�����	�
*�+�	�'�
��	�,��a� H�I�J��'�4��=�>�?��*�d�A�@�A�B��*�d�A�D�E�F�	�7�D�!�4�5�6��)�U�A�;�<�=����	�
?�@�	�'�
��AG�
�R�
�
�
�
�
�
�
�����
�
�
�
��!�!���!�!���%�%�
��#�#��
�/�/������
�
�
�
����	��%�%�
��'�'���!�!���)�)��
	����3�3��	�*�
�*�8	�
��{��Z�'�����3�3���
�/#��/#�d	���[� �8�+�j�8�����3�3���EE��EE�P	��	
�v�s�A�@�A�1�V�9�M����
�I�J�		
�

�l�D�!�$F�"G�H�	
�w��a� :�;�<�	
�w��a� A�B�C�	
�w��a� 4�5�6�	
�w��a� @�A�B�	
�y�$��"G� H�I�	
�|�T�1�%:�#;�<����
�9�:�		
�
���
�5�6�
�f�I�	
�
���
�C�D�
�m��	
�9#�H�I$�J�K%�L�M&�N�<�=��/�/���Y-�\p�]-�\p�f	��	�l�D�!�$I�"J�K����
�6�7�
�i�L�	
�
�v�s�A�7�8�!�F�)�D�	
�w��Q�@�A�1�W�:�N�����
�����/�/�#�&M�'�&M�`	��
���
�=�>�		
�
���
�E�F�		
�

�l�D�!�$4�"5�6����
�E�F�
�f�I�	
�
�v�s�A�4�5�q��y�A�	
�w��q�!D�E�F�-�0�1�2�3�4�5�6�7�8����3�3�? �B57�C �B57�pm
�`	�
�	
�x���"7� 8�9�	
�w��q�!7�8�9�	
�v�u�a� 5�6�7�	
�w��q�!:�;�<�	
�y�%��#=�!>�?����
�5�6�
�f�I�	
�
�{�E�1�%?�#@�A���$�%��3�3�%�.���
�	
��	
��
�B%�)�(B%�J	��	
�x���(��,�	
�v�s�A�=�>��&�	�J�	
�y�%��#=�!>�?�	
�y�#�q�!;�<�a��i�H�	
�{�E�1�%@�#A�B�	
�w��q�!;�<�=�
����,�-��5�5�
�l
�
�l
�^	�
�
���
�F�G�		
�
�x��q�!K�L�M����
�A�B�		
���o���5�5�%�(G�)�(G�T	��
���
�I�J�		
�
�y�%��#E�!F�G�	
�v�r�1�D�E�F�	��
��g�J��5�5�
���"S
�#�"S
�l	�
�
���
�=�>�		
�
���
�;�<�		
�
���
�D�E�
�f�I�	
�
���
�;�<�
�i�L�	
�
���
�L�M�
�f�I�	
�
�v�t�Q�I�J�K����
�/�0�
�g�J�	
�G*�V�W+�X�M�N��/�/�_0�bL�c0�bL�^	�
�
���
�9�:�
�i�L�	
�
�v�s�A�9�:�A�f�I�F�	�i��q�!D�E�F�
���������/�/��
��%�(1J�)�(1J�h	��
���
�1�
�		
�
���
�6�7�
�f�I�	
�
���
�&�
�
�f�I�		
�
���
�3�
�
�i�L�		
�

�g�t�Q�D�E�F�	�o�t�Q�'K�%L�M�	�i��q�!F�G�H�O(�R�S)�T�"�#��/�/���_0�bL�c0�bL�^	��
���
�J�K�		
�

�o�t�Q�'F�%G�H�	�h��a� L�M�N�	
�y�$��"H� I�J�	�h��a� E�F�G�	
�w��a� C�D�E��!��
�K�L�		
�
�~�t�Q�'>�%?�@�%�(�)�*�+�,�-�.�/�0����,�,���;�>;2�?�>;2�|K
�\	�$�	
�|�T�1�%L�#M�N�
���
�<�=�		
�
�w��a� 3�4�5�	
�x��q�!:�;�<�	�i��q�!F�G�H����
�D�E�		
�

�m�T�1�%M�#N�O�	
�y�$��"7� 8�9�7�:�;�<����&�&��
��G$�J:
�K$�J:
�z	����3�3��	�,�
�,�4	��	�i��q�!G�H�I�	
�x��q�!K�L�M����
�E�F�
�f�I�	
�
���
�<�=�		
��"�#�$�%�&�8�9��/�/�-�0!H�1�0!H�H	����l�O��&�&���,��,�	��
�J��a� ;�<�=�>��k�N��&�&���4��4�2	��	
�v�r�1�5�6��&�	�B�	�g�s�A�6�7��7��D�	�e�S�!�2�3�Q�w�Z�@�	
�y�#�q�!;�<�a��i�H��,��
�W�
�		
�
����� �!�"�#�$�E�F��/�/���
��1�4E�5�4E�P	�
�
���
�@�A�
�k�N�	
�
���
�9�:�
�i�L�	
�

���a�(I�&J�K�	
�v�r�1�3�4�a��i�@�!�$�%�&�'�(�3�4��/�/��
��3�6t
�7�6t
�n	��
���
�6�7�
�f�I�	
�
���
�;�<�		
���� �!�"�#�$����3�3�
��-�0G
�1�0G
�T	�
�	
�~�t�Q�'>�%?�@�����	�
����3�3����.��.�b	��	
�v�r�1�2�3�Q�v�Y�?����
�D�E�
�f�I�	
�
���
�D�E�		
�
�{�E�1�%@�#A�B�	�g�u�a� 9�:�;�	�h��q�!;�<�=�	
�w��q�!D�E�F�	�f�d�A�A�B�C����
�J�K�		
�
�x���.� 1�2����
�7�8�		
�
���
�5�6�		
�C'�P�Q(�R�S)�T�U*�V�'�(��3�3�]/�`j=�a/�`j=�Z	����
��
���"�"�
�G�H��	��	
�y�$��"8� 9�:�	�f�d�A�@�A�B����
��
�		
�
�w��a� :�;�<����
�>�
�		
�
�~�t�Q�'C�%D�E��!��
�>�?�		
�
�~�t�Q�'E�%F�G����
�;�<�
�f�I�	
�
���
�Q�
�		
�
�w��a� A�B�C�	
�w��a� @�A�B�]/�`�a0�b�c1�d�/�0��/�/��
��o8�rS�s8�rS�l	��
���
�B�C�
�k�N�	
�
�w��q�!?�@�A����
�:�;�		
�
�y�%��#I�!J�K��"�#�$�%�&��3�3�
��-�0D�1�0D�N	��	
�|�T�1�%E�#F�G�	
�z�4��#A�!B�C�	
�z�4��#B�!C�D����
�3�4�
�k�N�	
�	��%�&��&�&��
��#�&�'�&�>	��	
�v�s�A�@�A�1�V�9�M�	
�v�t�Q�<�=�>�	
�u�d�A�8�9�:�	
�y�$��.� 1�2�	
�w��a��o�.�	
�|�T�1�%6�#7�8�
����	��#�$��3�3��
���(�����	
��F�#�"F�R	��
��
�
�=�
�
�f�I�		
�
�w��Q�8�9�1�W�:�F�	�i��q�!G�H�I�	
�w��q�!D�E�F����
�L�M�		
�
���
�@�A�		
�
���
�C�D�		
�

�j�$��"C� D�E�	�h��a� E�F�G�	�i��a� >�?��6��K����
�I�J�		
�G)�T�U*�V�W+�X�Y,�Z����/�/�a1�d{�e1�d{�|	��
���
�;�<�		
�
���a�(C�&D�E�	�i��a� A�B�A�g�J�O����
�8�9�
�f�I�	
�
�|�U�A�&:�$;�<����
�9�:�
�i�L�	
�#�2�3�4�5�6�7�8�E�F��8�8�? �BX/�C �BX/�v	����*�+��/�/���
����&	�
�
���
�6�7�
�f�I�	
�
���
�;�<�		
�
���
�>�?�		
��*�+�,�!�"��3�3�3�64�7�64�n	��
���
�V�
�		
�
���
�N�O�		
�
���
�2�3�
�g�J�	
�
�y�$��"6� 7�8����
�<�=�
�g�J�	
�
���
�3�4�
�f�I�	
�
���
�C�D�
�m��	
�
���
�;�<�		
�
���
�I�J�		
�
�w��A�<�=�q��z�J����
�R�
�
�i�L�	
�
���
�>�?�
�i�L�	
�
���
�:�;�
�k�N�	
�
���
�@�A�
�f�I�	
�aW�p�qX�r�sY�t����3�3���
��Aa�Dd4�Ea�Dd4�N	��	
�v�s�A�4�5�q��y�A�	�f�e�Q�?�@�A���	�
�k�N��-�-�
��
�5
�
�5
�p	��
���
�I�J�		
�
�v�s�A�2�3�Q�v�Y�?����
�B�C�		
�

�h��a� :�;�<�� �!�"����3�3��+�.U9�/�.U9�p	����
����
-�.��m�m��F��
�6�7��	��
���
�;�<�		
�
���
�G�H�
�f�I�	
�
���a�(C�&D�E�	
�|�U�A�&:�$;�<����
�9�:�
�i�L�	
�!�0�1�2�3�4�5�6�2�3��8�8�=�@4.�A�@4.�n	��
���
�7�8�
�f�I�	
���	�����3�3��� 5�!� 5�p	����i�L��8�8��
��
�K��K�\	��	
�y�%��#C�!D�E�	
�x���"A� B�C�	
�y�%��#C�!D�E�	
�x���"D� E�F�	
�v�r�1�/�0�!�F�)�<���&�'��5�5��N��N�b	��
���
�I�J�		
�
���
�=�>�		
�
���
�5�6�		
�
���
�8�9�
�f�I�	
�
�{�B��"5� 6��+��G����
�9�:�
�i�L�	
�
���
�G�H�		
�E(�R�S)�T�E�F��8�8��]/�`e�a/�`e�P	��	
���a�(C�&D�E�	�f�d�A�8�9�:�	
�z�4��#>�!?�@�	�g�t�Q�9�:�;�	�h��a��/�0�	
�x��q�!L�M�N����
�)�
�		
�

�j�$��"J� K�L�!�$���%�&�&�'��3�3�-�0J,�1�0J,�Z	��	
�x��q��/�0����
�G�H�
�f�I�	
�
�{�B��"5� 6��+��G�	���a�(L�&M�N����
�9�:�
�i�L�	
�

�m�U�A�&C�$D�E����
�@�A�		
�
���
�<�=�		
�3�@�A �B�>�?��8�8��K&�Nf�O&�Nf�R	��L���-�-��
��
�2	��	
�x��q�!C�D�E�	
�x��q�!M�N�O���	�
���
�����3�3���
�2
�
�2
�j	��	�i��q�!H�I�J�	
�x��q�!M�N�O����
�F�G�
�f�I�	
�
���
�<�=�		
��"�#�$�%�&�#�$��3�3�-�0#
�1�0#
�L	��	
�v�t�Q�=�>�?�	
�w��a� D�E�F�	
�w��a� 9�:�;�	
�y�$��"=� >�?�	
�|�T�1�%:�#;�<�	�k�4��#4�!5�6�
����	��
�����3�3���"U�#�"U�p	�
�	
�v�t�Q�L�M�N�	
�w��Q�@�A�1�W�:�N�	
�v�s�A�A�B�A�f�I�N�	
�|�T�1�%J�#K�L�	
�~�t�Q�'J�%K�L�������'�(��3�3�
�]8�
�]8�@	���4��5�!�,E�*F�G�H�H��-�-��
2N��
2N�j	�����
���3�3�	�8�
�8�0	��
���
�4�5�
�g�J�	
�
�y�$��"=� >�?�	� �"�a�(I�&J�K����
�3�4�
�g�J�	
�
���
�2�3�
�g�J�	
�
���
�?�@�
�g�J�	
�
���
�A�B�
�i�L�	
�
���
�G�H�
�g�J�	
�
���
�D�E�
�g�J�	
�
���
�;�<�
�g�J�	
�
���
�4�5�
�g�J�	
�

�h��a� @�A�B����
�.�/�
�g�J�	
�
�|�S�!�$;�"<�a��n�M�	�h��Q�7�8�!�H�+�F�	
�w��a� ;�<�=�	�n�c�1�%<�#=�q��z�J�	�l�D�!�$C�"D�E�_P�b�cQ�d�n���8�8���oX�r:K�sX�r:K�z	�
�
���
�H�I�		
�
�z�4��#G�!H�I�	�j�$��"?� @�A����
�6�7�
�g�J�	
�
�y�$��"G� H�I�	
�w��q�!D�E�F����
�B�C�		
�
�w��a� 7�8�9�	
�z�3��"?� @�!�G�*�M����
�:�;�
�g�J�	
�
���
�4�
�		
�
�~�t�Q�':�%;�<����
�@�
�		
�W4�j���k5�l�(�)��3�3�s:�vK9�w:�vK9�\
�	�	��	
�v�t�Q�:�;�<�	
�{�D�!�$?�"@�A�	
�x��q�!9�:�;�	
�z�4��#=�!>�?�	
�z�4��#=�!>�?�	
�x��q�!C�D�E�	
�z�4��#K�!L�M�	
�z�4��#=�!>�?�	
�|�T�1�%:�#;�<�	
�x��A�&M�$N�O����
�G�H�		
�
���
�;�<�		
�

�f�b�!�<�=�q��y�I����
�5�6�
�f�I�	
�1�@�A �B�C!�D�E"�F����3�3���
��S*�VW
�W*�VW
�t	��	�9�d�A�8�9�:�;���3�3��
��
�D��D�N
	�
�	
�x��q���/�	
�x��q�!6�7�8�	
�v�s�A�0�1�1�V�9�=�	�i��q��1�2�	
�w��a� C�D�E�	
�z�3��"?� @�!�G�*�M���	��A�B��5�5��@
��@
�F	�����5�5�
���1
��1
�h	�
�	
�x��q��/�0�	
�v�t�Q�>�?�@���	�
�l�O��3�3�	��	��,	��
���
�G�H�		
���o���/�/��
��
� 	��	
�x��q�!J�K�L����
�:�;�		
�
�~�t�Q�'M�%N�O�	
�w��a� ?�@�A����
�7�8�
�g�J�	
�
�w��Q�4�5�6����
�<�=�
�g�J�	
�%�4�/�0��3�3�;�>-A�?�>-A�`	����
���'�'��-�-��
,�-�
�	��	
�x��q�!K�L�M�	
�x��q�!C�D�E�	
�x��q�!=�>�?�	
�w��Q�@�A�1�W�:�N�	
�v�s�A�k�N�A�f�I�6�����(�)��3�3��
�k�
�k�\	�
�A�B��-�-��
"��
"�2	������&�&��
���;
��;
�|r>

Youez - 2016 - github.com/yon3zu
LinuXploit