403Webshell
Server IP : 50.21.180.56  /  Your IP : 216.73.216.208
Web Server : Apache
System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
User : ws67922704 ( 67922704)
PHP Version : 8.5.13
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /kunden/lib/python3/dist-packages/hgext/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /kunden/lib/python3/dist-packages/hgext/__pycache__/githelp.cpython-313.pyc
�

6�h������SrSSKJr SSKrSSKrSSKJr SSKJrJ	r	J
r
JrJrJ
r
 SSKJr Sr0r\R$"\5rSr\"S	/\"S
5\R(SS9S
5rSr"SS5r"SS5rSrSrSrSrSrSrSrSr Sr!Sr"Sr#Sr$Sr%S r&S!r'S"r(S#r)S$r*S%r+S&r,S'r-S(r.S)r/S*r0S+r1S,r2S-r3S.r4S/r5S0r6S1r7S2r8S3r9S4r:S5r;S6r<S7r=S8r>S9r?S:r@S;rA0S<\_S=\_S>\_S?\_S@\_SA\_SB\ _SC\!_SD\"_SE\#_SF\$_SG\&_SH\'_SI\(_SJ\)_SK\*_SL\+_0SM\,_SN\-_SO\._SP\/_SQ\0_SR\1_SS\2_ST\3_SU\4_SV\5_SW\6_SX\7_SY\8_SZ\9_S[\:_S\\;_S]\<_E\A\%S^.ErB\=\>\?\@S_.rCg)`z�try mapping git commands to Mercurial commands

Tries to map a given git command to a Mercurial command:

  $ hg githelp -- git checkout master
  hg update master

If an unknown command or parameter combination is detected, an error is
produced.
�)�annotationsN)�_)�encoding�error�	fancyopts�pycompat�	registrar�scmutil)�procutilsships-with-hg-corec��URS5(aUSS$SU;aURSS5n[R"SSU5nU$)Nsorigin/�sHEAD�.s~$s~1)�
startswith�replace�re�sub)�ss �//usr/lib/python3/dist-packages/hgext/githelp.py�convertr,sJ���|�|�J������u���!�|�
�I�I�g�t�$��
���u�e�Q��A��H�sgithelp|gits
hg githelpT)�helpcategory�	helpbasicc�^�[U5S:Xd[U5S:Xa(USS:Xa[R"[S55eUSS:XaUSSnUSnU[;a"[R"[S5U-5eURS5 USSn[U"X/UQ70UD6$)z_suggests the Mercurial equivalent of the given git command

Usage: hg githelp -- <git command>
r�sgits8missing git command - usage: hg githelp -- <git command>Nserror: unknown git command %ssgithelp)�lenr�Abortr�gitcommands�pager)�ui�repo�args�kwargs�cmds     r�githelpr$6s����4�y�A�~�#�d�)�q�.�T�!�W��->��k�k�
�I�J�
�	
��A�w�&���A�B�x��
�q�'�C��+���k�k�!�<�=��C�D�D��H�H�Z�����8�D��s��B�6�t�6�v�6�6rc
��[U5n0n[U5n[R"[U5XS5nUVs/sHn[U5PM nn[UR!5V	V
s/sH*up�[#U
[$5(a
U	[U
54OX�4PM, sn
n	5nX#4$![RGa�nSUR;aeSUR
-UR;a$S[R"UR
5-nO�SUR
-UR;a$S[R"UR
5-nO@[R"[S5[R"UR
5-5eURU5 O{![an [S5n[S	5n[R"U[R"UR
5-U[R"UR
5-S
9ef=fUR[S5U-5 SnAOSnAff=fGM5s snfs sn
n	f)NTzrequires argumentz--�--�-�-sunknown option %ss-unknown option '%s' packed with other optionss2please try passing the option as its own flag: -%s)�hintsignoring unknown option %s
)�listr�getopt�GetoptError�msg�optr�bytestrrrr�remove�	Exception�warnr�dict�items�
isinstance�bytes)r�
cmdoptionsr!�opts�ex�flagr-r)�x�k�vs           r�parseoptionsr>Ts����j�!�J�
�D���:�D�
�	?��&�&�t�D�z�:�T�J�D��0!%�%��1�G�A�J��D�%���
�
��	
�$��� *�!�U�3�3�Q���
�O�!��?�$�	
��D��:���?�!�!�	?�"�b�f�f�,���r�v�v�
�"�&�&�(��x�/�/����7�7������,�2�6�6�)��h�.�.�r�v�v�6�6���k�k��*�+�h�.>�.>�r�v�v�.F�F���
����D�!���
��H�I���N�O���k�k��(�*�*�2�6�6�2�2��� 0� 0���� 8�8���
��
�G�G�A�5�6��=�>�>��+	?��	��6&��	
s=�!B,�I�01I
�,I	�CI�F'�&I�'A8H� I�I	c�\�\rSrSrSrSr\R"\5rSr	Sr
SrSrSr
g	)
�Command�~c�,�Xl/Ul0Ulg�N)�namer!r8)�selfrDs  r�__init__�Command.__init__s���	���	���	rc��SUR-nUR(ai[URR55HBup#UH7nU(a$[	U[
5(aSnOSnXX$4--
nM.USU4--
nM9 MD UR(a#US-
nUSRUR5-
nU$)Nshg s %s %ds %s %ss %s� )rDr8�sortedr4r5�intr!�join)rEr#r<�valuesr=�fmts      r�	__bytes__�Command.__bytes__�s����t�y�y� ���9�9�#�D�I�I�O�O�$5�6�	���A��%�a��-�-�"+�C�"+�C��a�V�|�+���v���}�,�� �7��9�9��4�K�C��4�9�9�T�Y�Y�'�'�C��
rc�:�URRU5 grC)r!�append)rE�values  rrR�Command.append�s���	�	����rc�:�URRU5 grC)r!�extend)rErMs  rrV�Command.extend�s���	�	���� rc�^�URRU/5nURU5 grC)r8�
setdefaultrR)rE�keyrSrMs    r�__setitem__�Command.__setitem__�s$�����%�%�c�2�.���
�
�e�rc��[X5$rC��
AndCommand�rE�others  r�__and__�Command.__and__��
���$�&�&r)r!rDr8N)�__name__�
__module__�__qualname__�__firstlineno__rFrOr�	strmethod�__str__rRrVr[rb�__static_attributes__�rrr@r@~s2���
�&� � ��+�G� �!��'rr@c�&�\rSrSrSrSrSrSrg)r_�c��XlX lgrC��left�right)rErqrrs   rrF�AndCommand.__init__�s���	��
rc�8�SURUR4-$)Ns%s && %srp)rEs rrj�AndCommand.__str__�s���d�i�i����4�4�4rc��[X5$rCr^r`s  rrb�AndCommand.__and__�rdrrpN)rerfrgrhrFrjrbrkrlrrr_r_�s���5�'rr_c�p�SS/n[XU5up%URS5(a&UR[S55 [	S5nOM[	S5nURS5(dURU5 OUR[S55 UR[
U5S	5 g)
N)�A�allNr��p�patchNrr}sUnote: Mercurial will commit when complete, as there is no staging area in Mercurial

�commit --interactive�addrzs?note: use hg addremove to remove files that have been deleted

�
)r>�get�statusrr@rVr6�rr r!r"r7r8r#s       r�addr��s���!�#��J��b�d�3�J�D��x�x����
�	�	�
�@�
�	
��-�.���f�o���x�x�����J�J�t���I�I��(��
��I�I�u�S�z�E�"rc�l�/n[XU5 [S5nUR[U5S5 g)Nsimportr��r>r@r�r6�rr r!r"r7r#s      r�amr��s-���J����&�
�)�
�C��I�I�e�C�j�%� rc�N�SS[S4S/n[XU5up%[S5nURS5(aURS5US'URS5(aURS5US'UR	U5 UR[
U5S5 g)	Nr|r)r�	directoryrrsimport --no-commit�-pr�s--prefixr�)rKr>r@r�rVr�r6r�s       r�applyr��s���	
�t�S�#��%��J��b�d�3�J�D�
�'�
(�C��x�x��~�~��X�X�d�^��E�
��x�x�����8�8�L�1��K���J�J�t���I�I�u�S�z�E�"rc�8�UR[S55 g)Ns,see 'hg help bisect' for how to use bisect

�r�r�rr r!r"s    r�bisectr��s���I�I�a�A�B�Crc���/n[XU5up%[S5nURUVs/sHn[U5PM sn5 UR	[U5S5 gs snf)Ns
annotate -udlr�)r>r@rVrr�r6�rr r!r"r7r8r#r=s        r�blamer��sV���J��b�d�3�J�D�
�"�
#�C��J�J�D�)�D�q���
�D�)�*��I�I�u�S�z�E�"��*s�A#c��/SQn[XU5up%[S5nURS5(dURS5(aUR[	S55 gURS5(a[S5nUHnXvS'M	 SUS'O�URS	5(am[U5S
:�a$[U5S:�aUR
S
5nO"SnO[R"[	S
55eUS
n	X�S'URU	5 OO[U5S:�aUSUS'URUS
5 O#[U5S:XaURUS
5 UR[U5S5 g)N))rsset-upstreamNr)rsset-upstream-torr��d�deleteNr)�Dr�Nr)�m�moveNr)�Mr�Nr�bookmarksset_upstreamsset_upstream_tos.Mercurial has no concept of upstream branches
r�sstrip�-Br�rrs"`hg log -T"{activebookmark}" -r .`smissing newbranch argument�-m�-rr�)r>r@r�r�rr�poprrrRr6)
rr r!r"r7r8r#�branch�old�news
          rr�r��sI���J��b�d�3�J�D�
�+�
�C��x�x�� � �D�H�H�-?�$@�$@�
�	�	�!�F�G�H��	
���)�	�	��h����F���J���C��J�	
���'�	�	��t�9�q�=��4�y�1�}��h�h�q�k��<���+�+�a� =�>�?�?��1�g���E�
��
�
�3���t�9�q�=��a��C��J��J�J�t�A�w��
��Y�!�^��J�J�t�A�w���I�I�u�S�z�E�"rc�$�[R"X5(agUR5nUS:XaUnOUS-U-nURR	U5nU(agUSR5nX5;=(d UR
U5nU$)a
The first argument to git checkout can either be a revision or a path. Let's
generally assume it's a revision, unless it's obviously a path. There are
too many ways to spell revisions in git for us to reasonably catch all of
them, so let's be conservative.
Fr�/Tr)r
�isrevsymbol�getcwd�wvfs�exists�manifest�hasdir)r �string�cwd�repopathr�r��didexists       r�ispathr�"s������4�(�(��
�+�+�-�C�
�c�z�����:��&��
�Y�Y�
�
�h�
'�F�
���D�z�"�"�$�H��$�B�����)B�H��Orc���/SQn/nSU;a,URS5nURX&S-S5 USUn[XU5up'SnU(a[XS5(aX%-nOU(a
USnUSSU-n[	S5n	URS5(aU(dU(aSU	S'URS5(a[	S	5n	SU	S
'URS5(a�[
U5S:Xa-[	S5n	U	RURS55 GO*U	RUS5 [	S5n
U
RURS55 X�-n	O�[
U5S:�a]UR[S
55 [	S	5n	URS5(aSU	S
'U(aX�S'U	RU5 OzU(a-URS5(aX�S'OXU	RU5 OFURS5(a[	S	5n	SU	S'O[R"[S55eUR[U	5S5 g)N)��b�branchrr)�Br�rr��f�forceNrr{r&rr�updater�s-Cr}�revert�-ir�r�s5note: use --no-backup to avoid creating .orig files

r��--allsa commit must be specifiedr�)
�indexrVr>r�r@r�rrRr�rrrr6)rr r!r"r7�paths�sepindexr8�revr#�bookcmds           r�checkoutr�?s���J�
�E���}��:�:�e�$��
���T�Q�,�.�)�*��I�X����b�d�3�J�D�
�C���t�!�W�%�%����	
��1�g���Q�R��5� ��
�)�
�C��x�x�����C��C��J��x�x�����i� ����E�
��x�x�	����t�9��>��+�&�C��J�J�t�x�x�	�*�+��J�J�t�A�w���k�*�G��N�N�4�8�8�I�.�/��-�C�	�U��a��
�	�	�!�N�O�P��i� ���8�8�H����C��J����J��
�
�5��	��8�8�H�����J��J�J�s�O�	
���(�	�	��i� ����H�
��k�k�!�9�:�;�;��I�I�u�S�z�E�"rc�f�/SQn[XU5up%[S5nURS5(aSUS'URS5(aSUS'OBURS5(aUR[	S55 gURU5 UR[
U5S	5 g)
N)�r�continueNr�r�abortNr)�e�editNrsgraftr�s--editr��
--continuer�s&note: hg graft does not have --abort

r��r>r@r�r�rrVr6r�s       r�
cherrypickr�s����J�
�b�d�3�J�D�
�(�
�C��x�x������I���x�x����!��M��	
���(�	�	�
�	�	�!�?�@�A���
�
�4���I�I�u�S�z�E�"rc���/SQn[XU5up%[S5nURS5(aSUS'URU5 UR	[U5S5 g)N))r�r�Nrr�)�xr�Nrspurger�r�r�)r>r@r�rVr�r6r�s       r�cleanr��sW���J�
�b�d�3�J�D�
�(�
�C��x�x��~�~���H�
��J�J�t���I�I�u�S�z�E�"rc�j�/SQn[XU5up%[U5S:Xa[R"[	S55e[S5nUR
US5 [U5S:�aUR
US5 URS5(a SUS'UR[	S55 OURS	5(aSUS'URS
5(a/[S5nUR
URS
55 Xg-nUR[U5S5 g)
N))r�bareNr)�nsno-checkoutNrr�rs'a repository to clone must be specified�clonerr�s-Usanote: Mercurial does not have bare clones. -U will clone the repo without checking out a commit

sno_checkoutr�r�r�)
r>rrrrr@rRr�r�r6)rr r!r"r7r8r#�cocmds        r�cloner��s���J�
�b�d�3�J�D�
�4�y�A�~��k�k�!�F�G�H�H�
�(�
�C��J�J�t�A�w��
�4�y�1�}��
�
�4��7���x�x������E�
�
�	�	�
�L�
�	
�
���.�	!�	!���E�
��x�x�	����	�"��
���T�X�X�i�(�)��k���I�I�u�S�z�E�"rc�^�/SQn[XU5up%[S5nURS5(a[S5nURS5(a'URS5(a[S5nOSUS'URS5(aURS5US	'URS
5(aSURS
54-US'URS
5(aUR[	S55 URS5(aURS5US'URS5(aURS5US'URS5(aURS5US'URU5 UR[
U5S5 g)N)	��arzNr)r��messagerrr{)�Cs
reuse-messagerr)�F�filerr)r�authorrr)r�daterr)r�amendNr)rsno-editNr�commitr}r~r�sno_edits--amends
reuse_messages-Mr�s'%s'r�rzsqnote: Mercurial doesn't have a staging area, so there is no --all. -A will add and remove files for you though.

r��-lr�s-ur��-dr�r�r�s       r�commitr��se��
�J��b�d�3�J�D�
�)�
�C��x�x�����-�.���x�x�����8�8�J����(�#�C�"�C�
�O��x�x� �!�!��X�X�.�/��E�
��x�x�
�������� 4�6�6��E�
��x�x����
�	�	�
�'�
�	
��x�x�����X�X�g�&��E�
��x�x�	����X�X�i�(��E�
��x�x�����X�X�g�&��E�
��J�J�t���I�I�u�S�z�E�"rc�8�UR[S55 g)NsXthis command has been deprecated in the git project, thus isn't supported by this tool

)r2rr�s    r�
deprecatedr��s���G�G�	�
6�	
�rc��/SQn[XU5up%[S5nURS5(aUR[	S55 URS5(aSUS'[U5H*nUR
U5 URU5 XvS'M, UR[U5S5 g![a URU5 Mhf=f)	N)r�)r�cachedNr)�R�reverseNr�diffr�sLnote: Mercurial has no concept of a staging area, so --cached does nothing

r�s	--reverser�r�)r>r@r�r�rr*r0�revsr1rRr6)rr r!r"r7r8r#�as        r�diffr�s����J�
�b�d�3�J�D�
�'�
�C��x�x�	���
�	�	�
�0�
�	
��x�x�
��� ��L��
�$�Z�����A��	��I�I�a�L���J�	��I�I�u�S�z�E�"���	��J�J�q�M�	�s�	B>�>C�Cc�8�UR[S55 g)NsMercurial does not enable external difftool by default. You need to enable the extdiff extension in your .hgrc file by adding
extdiff =
to the [extensions] section and then running

hg extdiff -p <program>

See 'hg help extdiff' and 'hg help -e extdiff' for more information.
r�r�s    r�difftoolr�'s���I�I�	�
�	
�
rc�V�SS/n[XU5up%[S5n[U5S:�abURUS5 [U5S:�a?UR	[S55 USSHnXqR;aXvS'MXvS'M UR	[U5S	5 g)
N�rrzNrr��pullrr�note: Mercurial doesn't have refspecs. -r can be used to specify which commits you want to pull. -B can be used to specify which bookmark you want to pull.

r�r�r��r>r@rrRr�r�
_bookmarksr6r�s        r�fetchr�5s��� �#��J��b�d�3�J�D�
�'�
�C�
�4�y�1�}��
�
�4��7���t�9�q�=��I�I��)��
��!�"�X�����'�!"��J�!"��J�	��I�I�u�S�z�E�"rc��/n[XU5up%[S5nURU5 UR[	U5S5 g)N�grepr�)r>r@rVr�r6r�s       r�grepr�Rs?���J��b�d�3�J�D�
�'�
�C��J�J�t���I�I�u�S�z�E�"rc��/n[XU5up%[S5n[U5S:�aURUS5 UR	[U5S5 g)N�initrr��r>r@rrRr�r6r�s       r�initr�_sL���J��b�d�3�J�D�
�'�
�C�
�4�y�1�}��
�
�4��7���I�I�u�S�z�E�"rc��/SQn[XU5up%URS5=(d URS5nU(a-[S5nXgS'URS[	U5-5 gUR[S55 UR[S55 [S	5nSUS
'URS5(aURS5US'URS
5(aS
US'URS5(aSUS'URS5(aSUS'URS5(aSUS'URS5(d,URS5(dURS5(aWURSS5nSU;a UR[S55 SUS'OUR[S55 SUS'[
U5S:�a<SUS;a"USRS5up�S X�4-US!'US	URU5 UR[	U5S"5 g)#N))rsfollowNr)rsdecorateNr)r��numberrr)�1rNr�r�prettyrr)r�formatrr)r�onelineNr)r�statNr)r�graphNrr{)�Gs	grep-diffrr)�Ss
pickaxe-regexrrs	grep_diffs
pickaxe_regexr�s--diffs%s
senote: -v prints the entire commit message like Git does. To print just the first line, drop the -v.

sFnote: see hg help revset for information on how to filter log output

�logs-vr�r�rr�--statrs-Gr}r�rrrr�format:scnote: --format format:??? equates to Mercurial's --template. See hg help templates for more info.

s???s
--templatesqnote: --pretty/format/oneline equate to Mercurial's --style or --template. See hg help templates for more info.

s--stylers..s'%s::%s'r�r�)	r>r�r@r�r6rr�splitrV)rr r!r"r7r8�grep_patr#�format�since�untils           r�logrks��
�J��b�d�3�J�D��x�x��%�C����2B�)C�H���g���!�I��
�	�	�'�E�#�J�&�'���I�I�	�
;�	
���I�I�	�
�	
���&�/�C��C��J��x�x�	����X�X�i�(��E�
��x�x��~�~���E�
��x�x������I���x�x������E�
��x�x������E�
��x�x�	���d�h�h�y�1�1�T�X�X�j�5I�5I����)�S�)������I�I��L��
�"(�C�
���I�I��&��
�%�C�
�O�
�4�y�1�}��D��G����7�=�=��/�L�E�$��~�5�C��J��Q���
�
�4���I�I�u�S�z�E�"rc��/SQn[XU5up%URS5(dBURS5(d,URS5(dURS5(ax[S5nURS5(aSUS'URS5(aSUS'URS5(aSUS	'URS5(aSUS
'O[S5nURS5(aUR[	S
55 URS5(aSUS'URS5 UHn[R"U5US'M UR[U5S5 g)N))�cr�Nr)r��deletedNr)r��modifiedNr)�o�othersNr)�i�ignoredNr)�s�stageNr)�z�_zeroNrrrrr�statusr�r�s-or�sfilesrs>note: Mercurial doesn't have a staging area, ignoring --stage
rs-0rs-Ir�)	r>r�r@r�rrRr�
shellquoter6)rr r!r"r7r8r#�includes        r�lsfilesr!�sL���J��b�d�3�J�D�	
�������8�8�J����8�8�I����8�8�J����i� ���8�8�J����C��J��8�8�K� � ��C��J��8�8�I����C��J��8�8�J����C��J���h����x�x����
�	�	�
��
�	
��x�x������E�
��J�J�t�����(�(��1��E�
���I�I�u�S�z�E�"rc���/n[XU5up%[S5n[U5S:�a URU[U5S-
5 UR	[U5S5 g)N�mergerrr�r�r�s       r�merger$�sU���J��b�d�3�J�D�
�(�
�C�
�4�y�1�}��
�
�4��D�	�A�
�&�'��I�I�u�S�z�E�"rc���/n[XU5up%[U5S:waSS/n[SUSUS4-5nUR[	S5[	S55 UR[U5S	5 g)
N�ryr�s&log -T '{node}\n' -r 'ancestor(%s,%s)'rrs1note: ancestors() is part of the revset language
s3(learn more about revsets with 'hg help revsets')

r�)r>rr@r�rr6r�s       r�	mergebaser'�s|���J��b�d�3�J�D�
�4�y�A�~��d�|��
�2�d�1�g�t�A�w�5G�G��C��I�I�	�
?�@�	�
B�C���I�I�u�S�z�E�"rc��/n[XU5up%[S5n[U5S:XaSUS'URU5 UR	[U5S5 g)Nsresolverr�r�)r>r@rrVr�r6r�s       r�	mergetoolr)sQ���J��b�d�3�J�D�
�*�
�C�
�4�y�A�~���H�
��J�J�t���I�I�u�S�z�E�"rc��SS/n[XU5up%[S5nURU5 URS5(aSUS'URS5(aSUS'UR	[U5S5 g)	Nr��r�sdry-runNr�mvr��-f�dry_run�-nr��r>r@rVr�r�r6r�s       r�mvr1�v��#�%��J��b�d�3�J�D�
�%�.�C��J�J�t���x�x������E�
��x�x�
�����E�
��I�I�u�S�z�E�"rc�`�/SQn[XU5up%[S5nSUS'[U5S:�abURUS5 [U5S:�a?UR	[S55 USSHnXqR;aXvS'MXvS'M UR	[U5S	5 g)
N)r�r�)�r�rebaseNrr�s--rebaserrr�r�r�r�r�r�s        r�pullr6$s����J�
�b�d�3�J�D�
�'�
�C��C���
�4�y�1�}��
�
�4��7���t�9�q�=��I�I��)��
��!�"�X�����'�!"��J�!"��J�	��I�I�u�S�z�E�"rc��SS/n[XU5up%[S5n[U5S:�abURUS5 [U5S:�a?UR	[S55 USSHnXqR;aXvS'MXvS'M URS	5(aSUS
'UR	[U5S5 g)Nr�r��pushrrs�note: Mercurial doesn't have refspecs. -r can be used to specify which commits you want to push. -B can be used to specify which bookmark you want to push.

r�r�r�r-r�)	r>r@rrRr�rr�r�r6r�s        r�pushr9Cs��� �#��J��b�d�3�J�D�
�'�
�C�
�4�y�1�}��
�
�4��7���t�9�q�=��I�I��-��
��!�"�X�����'�!"��J�!"��J�	��x�x������E�
��I�I�u�S�z�E�"rc�d�/SQn[XU5up%URS5(ajUR[S55 [	S5n[U5S:�aUR[S55 UR[
U5S5 gURS5(a&[	S	5nUR[
U5S5 [	S
5nURS5(dURS5(aSUS'URS
5(aSUS'URS5(a�UR[S55 [URS55US'[U5S:a[R"[S55eS[US5[US54-US'OR[U5S:Xa[US5US'O1[U5S:Xa"[US5US'[US5US'UR[
U5S5 g)N)r�)r�interactiveNr)r�ontorrr�r�)r�skipNrr;sEnote: hg histedit does not perform a rebase. It just edits history.

shisteditrscalso note: 'hg histedit' will automatically detect your stack, so no second argument is necessary

r�r=srevert --all -r .r5r�r�r�s--abortr<sxnote: if you're trying to lift a commit off one branch, try hg rebase -d <destination commit> -s <commit to be lifted>

r�r&s(expected format: git rebase --onto X Y Zs
'::%s - ::%s'rs-ss-b)
r>r�r�rr@rr6rrrr�s       r�rebaser>cs����J��b�d�3�J�D��x�x����
�	�	�
�.�
�	
��k�"���t�9�q�=��I�I��K��
�	�	�	�5��:��&���x�x�����*�+��
�	�	�5��:��&�
�)�
�C��x�x�������� 1� 1�!��M���x�x������J���x�x����
�	�	�
��
�	
��T�X�X�g�.�/��E�
��t�9�q�=��+�+�a� K�L�M�M�%���a��)9�7�4��7�;K�(L�L��E�
��t�9��>� ��a��)�C��J�
��Y�!�^� ��a��)�C��J� ��a��)�C��J��I�I�u�S�z�E�"rc�"�S/n[XU5up%[S5nURS5(aSUS'[U5S:�aUR	US5 UR[
U5S5 UR[S55 g)Nr�sjournalrzr�rs

sHnote: in hg commits can be deleted from repo but we always have backups
)r>r@r�rrRr�r6rr�s       r�reflogr@�s��� ��J��b�d�3�J�D�
�*�
�C��x�x������H�
�
�4�y�1�}��
�
�4��7���I�I�e�C�j�'�"��I�I�	�
�	
�rc���/SQn[XU5up%[[U5S:�aUSOS5nURS5nURS5(aUR	[S55 URS5(aUR	[S55 [
S	5nU(aURS
5 URU5 UR	[U5S5 g)N))r�softNr)r�hardNr)r�mixedNrrrrCrDsBnote: --mixed has no meaning since Mercurial has no staging area

rBsAnote: --soft has no meaning since Mercurial has no staging area

r�s--cleanr�)	r>rrr�r�rr@rRr6)	rr r!r"r7r8r��hardr#s	         r�resetrF�s����J�
�b�d�3�J�D�
��D�	�A�
�T�!�W�4�
8�F��8�8�G��D��x�x����
�	�	�
�$�
�	
��x�x����
�	�	�
�$�
�	
��)�
�C���
�
�:���J�J�v���I�I�u�S�z�E�"rc��/n[XU5up%[U5S:�aUR[S55 [	S5nU(aURUS5 UR[
U5S5 g)Nrs;note: hg backout doesn't support multiple commits at once

sbackoutrr�)r>rr�rr@rRr6r�s       r�revertrH�sj���J��b�d�3�J�D�
�4�y�1�}�
�	�	�
��
�	
��*�
�C���
�
�4��7���I�I�u�S�z�E�"rc�b�SS/n[XU5up%URS5(dURS5(aW[S5nURS5(aUR[	S55 UR[U5S5 gUR[	S55 g)	N)rs	show-cdupNr)rs
show-toplevelNrs	show_cdups
show_toplevelsroots1note: hg root prints the root of the repository

r�s5note: see hg help revset for how to refer to commits
)r>r�r@r�rr6r�s       r�revparserJ�s���&�*��J��b�d�3�J�D��x�x�������*:�!;�!;��g����8�8�L�!�!��I�I�a�N�O�P�
�	�	�5��:��&�
�	�	�!�M�N�Orc��SS/n[XU5up%[S5nURU5 URS5(aSUS'URS5(aSUS'UR	[U5S5 g)	Nr�r+�rmr�r-r.r/r�r0r�s       r�rmrM�r2rc��SSSS[S4/n[XU5up%URS5(aTURS5S:Xa[S	5nS
US'O�[S5nUR	S
5 UR	S5 O�[U5S:�aj[
XS5(a[S5nO[S5nURU5 URS5(aUR	SUS4-5 OEURS5(a$[S5nUR	SUS4-5 O[S5nUR[U5S5 g)N)rsname-statusNrr�Usunifiedrsname_statusrrrrs--changer	s--style statuss-r .rscatsexports--config diff.unified=%dr�)
rKr>r�r@rRrr�rVr�r6r�s       r�showrPs3��(�"�	
�z�3��$��J�
�b�d�3�J�D��x�x�����8�8�I��*�,��)�$�C�#�C����&�/�C��J�J�(�)��J�J�w��	�T��Q���$�Q�� � ��&�/�C��)�$�C��
�
�4���8�8�J����J�J�2�d�:�6F�5H�H�I��	
���*�	�	��i� ���
�
�.�$�z�2B�1D�D�E��i� ���I�I�u�S�z�E�"rc�h�S/n[XU5up%[S5n[U5S:�aUSOSnUS:Xa"SUS'URS5(aSUS'GO=US:XaEURS5(aSUS'OSUS	'[U5S
:�aUR	US
5 O�US:XaSUS'O�US
:Xa;SUS'[U5S
:�aUR	US
5 O�UR	S5 O�US:XdUS:Xa:[S5n[U5S
:�aUR	US
5 US:XaSUS'O_US:XdUS:XaUR[
S55 g[U5S:�a)USS:wa	USUS'O[U5S
:�aUS
US'UR[U5S5 g)Nr{sshelver�listr�r}r��showr
rsclears	--cleanupsdropr�s
<shelve name>spop�applysunshelves--keepr�screatesTnote: Mercurial doesn't have equivalents to the git stash branch or create actions

ssaves--namer�)r>r@rr�rRr�rr6)rr r!r"r7r8r#�actions        r�stashrV/s���#��J��b�d�3�J�D�
�)�
�C��D�	�A�
�T�!�W�4�F�
�����E�
��8�8�H����C��J��	�7�	��8�8�H����C��J�!�C�	�N��t�9�q�=��J�J�t�A�w���	�8�	� ��L��	�7�	���E�
��t�9�q�=��J�J�t�A�w���J�J�'�(�	�6�	�V�x�/��k�"���t�9�q�=��J�J�t�A�w���X��!�C�	�N��	�9�	��)� 3�
�	�	�
�:�
�	
�	��t�9�q�=��A�w�'�!�!%�a���I���T��Q��!%�a���I���I�I�u�S�z�E�"rc���S/n[XU5up%[S5nURU5 URS5(aSUS'UR	[U5S5 g)N)rrNrrrr�r�r0r�s       rr�r�cs\��$��J��b�d�3�J�D�
�)�
�C��J�J�t���x�x�
�����E�
��I�I�u�S�z�E�"rc���U(d[R"[S55eUSnU[;a"[R"[S5U-5eUSSn[U"X/UQ70UD6$)Nsmissing svn commandrsunknown git svn command "%s"r)rrr�gitsvncommands)rr r!r"�svncmds     r�svnr[rsj����k�k�!�2�3�4�4�
�!�W�F�
�^�#��k�k�!�;�<�v�E�F�F����8�D��&�!�"�<�T�<�V�<�<rc�l�/n[XU5 [S5nUR[U5S5 g)Nr8r�r�r�s      r�
svndcommitr]}s-���J����&�
�'�
�C��I�I�u�S�z�E�"rc��/n[XU5 [S5nURS5 UR[	U5S5 g)Nr��default-pushr��r>r@rRr�r6r�s      r�svnfetchra�s9���J����&�
�'�
�C��J�J����I�I�u�S�z�E�"rc���/n[XU5up%U(d[R"[S55e[	S5nUSUS'UR[
U5S5 g)Nsmissing find-rev argumentr	rr�r�)r>rrrr@r�r6r�s       r�
svnfindrevrc�sU���J��b�d�3�J�D���k�k�!�8�9�:�:�
�&�/�C��a��C��J��I�I�u�S�z�E�"rc���S/n[XU5 [S5nURS5 [S5nURS5 XV-nUR[	U5S5 g)N)�lslocalNrr�r_r5stipr�r`)rr r!r"r7�pullcmd�	rebasecmdr#s        r�	svnrebaserh�s`��#��J����&��g��G��N�N�?�#��	�"�I�
���V��
�
�C��I�I�u�S�z�E�"rc���/SQn[XU5up%URS5(a[S5nO�[S5nU(d[R"[S55eUR
US5 [U5S:�aUSUS'URS	5(aSUS
'URS5(aSUS'UR[U5S
5 g)N)r�)rerRNrr�rRstags�tagsmissing tag argumentrrr�r�s--remover�r-r�)
r>r�r@rrrrRrr�r6r�s       r�tagrk�s����J�
�b�d�3�J�D��x�x�����g����f�o����+�+�a� 7�8�9�9��
�
�4��7���t�9�q�=��a��C��J��8�8�I���#�C����8�8�H����C��J��I�I�u�S�z�E�"rrsamrTsbisectsblamer�scheckoutscherry-pickscleanr�r�r�sdifftool�fetchr�r�r	sls-filesr#s
merge-bases	mergetoolr,r�r8r5sreflogsresetr�s	rev-parserLrSsstashrssvn)rjswhatchanged)sdcommitrlsfind-revr5)D�__doc__�
__future__rr+r�mercurial.i18nr�	mercurialrrrrr	r
�mercurial.utilsr�
testedwith�cmdtable�commandr�
CATEGORY_HELPr$r>r@r_r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�rr!r$r'r)r1r6r9r>r@rFrHrJrMrPrVr�r[r]rarcrhrkrrYrlrr�<module>rvs8��	�#�
�	����%�#�
�
��
�
�
�H�
%��
�	����m���&�&���7��7�.'�T&'�&'�R	'�	'�#�>!�#�"D�#�)#�X�:=#�@#�.
#�  #�F2#�j�#�@�#�:
#�	#�M#�`*#�Z	#�#�$	#�#�$#�>#�@;#�|�* #�F#�&
P� #�$#�B1#�h#�=�#�#�
#�
#� #�:%�
�C�%�	�2�%�
�e�%��v�	%�

�e�%��v�
%���%��J�%�
�e�%�
�e�%��v�%��T�%���%�
�e�%��T�%� �T�!%�"�C�#%�$��%%�&
�e�'%�(�9�)%�*�)�+%�,
�2�-%�.�T�/%�0�T�1%�2�v�3%�4�v�5%�6
�e�7%�8�v�9%�:�(�;%�<
�2�=%�>�T�?%�@
�e�A%�B�v�C%�D�C�E%�F
��I%��P����	�r

Youez - 2016 - github.com/yon3zu
LinuXploit