403Webshell
Server IP : 217.160.0.36  /  Your IP : 216.73.216.190
Web Server : Apache
System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
User : u90690018 ( 2806576)
PHP Version : 8.4.27
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__/patchbomb.cpython-313.pyc
�

6�hV|����SrSSKJr SSKJr SSKJs Jr	 SSK
Js Jr SSK
Jr SSKrSSKrSSKJr SSKJr SSKJrJrJrJrJrJrJrJrJrJ r J!r!J"r"J#r#J$r$ SSK%J&r&J'r' \$RPr(0r)\!RT"\)5r*0r+\!RX"\+5r,\,"SS	SS
9 \,"SSSS
9 \,"SSSS
9 \,"SS
SS
9 \,"SSSS
9 \,"SSSS
9 \,"SSSS
9 \,"SSSS
9 \,"SSSS
9 \,"SSSS
9 Sr-Sr.Sr/Sr0SrSjr1Sr2Sr3Sr4SsSjr5Sr6S r7S!r8S"r9S#r:SsS$jr;S%r<S&r=S'S(S\"S)54S*S+S\"S,54S-S.S\"S/54S'S/\"S05\"S154S2S/\"S35\"S154S'S
S\"S454S5S6S\"S754S'S8S'\"S95\"S:54S'S;S'\"S<5\"S=54S>SS'\"S?5\"S154S@SAS\"SB54SCSDS'\"SE5\"S=54S'S/\"SF5\"S154SGSHS'\"SI5\"SJ54S'SKS'\"SL5\"SM54S'SN/\"SO5\"SP54SQS/\"SR5\"S154/r>\*"SSSTSUS\"SV54S'SWS\"SX54SYSZS\"S[54S\S]S\"S^54S_S`S'\"Sa5\"Sb54S'ScS]\"Sd5\"Se54SfSg/\"Sh5\"Si54S'SjS\"Sk54S'Sl/\"Sm5\"Si54S'SS\"Sn54/
\>-\R~-\"So5\*R�Sp9Sq5rAg)tas	command to send changesets as (a series of) patch emails

The series is started off with a "[PATCH 0 of N]" introduction, which
describes the series as a whole.

Each patch email has a Subject line of "[PATCH M of N] ...", using the
first line of the changeset description as the subject text. The
message contains two or three body parts:

- The changeset description.
- [Optional] The result of running diffstat on the patch.
- The patch itself, as generated by :hg:`export`.

Each message refers to the first in the series using the In-Reply-To
and References headers, so they will show up as a sequence in threaded
mail and news readers, and in mail archives.

To configure other defaults, add a section like this to your
configuration file::

  [email]
  from = My Name <my@email>
  to = recipient1, recipient2, ...
  cc = cc1, cc2, ...
  bcc = bcc1, bcc2, ...
  reply-to = address1, address2, ...

Use ``[patchbomb]`` as configuration section name if you need to
override global ``[email]`` address settings.

Then you can use the :hg:`email` command to mail a series of
changesets as a patchbomb.

You can also either configure the method option in the email section
to be a sendmail compatible mailer or fill out the [smtp] section so
that the patchbomb extension can automatically send patchbombs
directly from the commandline. See the [email] and [smtp] sections in
hgrc(5) for details.

By default, :hg:`email` will prompt for a ``To`` or ``CC`` header if
you do not supply one via configuration or the command line.  You can
override this to never prompt by configuring an empty value::

  [email]
  cc =

You can control the default inclusion of an introduction message with the
``patchbomb.intro`` configuration option. The configuration is always
overwritten by command line flags like --intro and --desc::

  [patchbomb]
  intro=auto   # include introduction message if more than 1 patch (default)
  intro=never  # never include an introduction message
  intro=always # always include an introduction message

You can specify a template for flags to be added in subject prefixes. Flags
specified by --flag option are exported as ``{flags}`` keyword::

  [patchbomb]
  flagtemplate = "{separate(' ',
                            ifeq(branch, 'default', '', branch|upper),
                            flags)}"

You can set patchbomb to always ask for confirmation by setting
``patchbomb.confirm`` to true.
�)�annotationsN)�_)�bin)�cmdutil�commands�encoding�error�	formatter�hg�
logcmdutil�mail�patch�pycompat�	registrar�scmutil�	templater�util)�dateutil�urlutil�	patchbomb�
bundletype��defaultsbccscc�confirmF�flagtemplate�from�intro�auto�	publicurlsreply-tostosships-with-hg-corec�z�UR5nURRSS5nU(aSUUU4-$g)zFAdd a header pointing to a public URL where the changeset is availablerrs/Available At %s
#              hg pull %s -r %sN)�repo�ui�config)�seq�ctxr!�	publicurls    �1/usr/lib/python3/dist-packages/hgext/patchbomb.py�_addpullheaderr(�sG���8�8�:�D������|�\�:�I��B����F
�
�	
�
�c�p�[RRS5 [[RS'g)Nspullurl)r�extraexport�appendr(�extraexportmap)r"s r'�uisetupr.�s&�������z�*�)7�G���:�&r)c�f�UR5(dgURRS5 g)N�last-email.txt)�local�_wlockfreeprefix�add)r"r!s  r'�	reposetupr4�s%���:�:�<�<�������/�0r)c�H�U(aUSU--
nURX-U5$)Ns [%s])�prompt)r"r6r�rests    r'r6r6�s'����(�W�$�$��
�9�9�V�]�G�,�,r)c�D�URSS5nURS5(dURS5(aSnU$US:XaSnU$US:XaSnU$US:XaUS	:�nU$UR[S
5U-5 UR[S55 US	:�nU$)z-is an introductory message apparently wanted?rr�descTsalwayssneverFr�s,warning: invalid patchbomb.intro value "%s"
s'(should be one of always, never, auto)
)r#�get�	write_errr)r"�opts�number�introconfig�intros     r'�introwantedrA�s����)�)�L�(�3�K��x�x����T�X�X�g�.�.����L�
�	�	!����L�
��	 ����L�
��	���
���L�	���
�>�?�+�M�	
�	���Q�B�C�D���
���Lr)c
��URSS5nU(dSRU5$[R"5n[R
"[R"U55n[R"XS0U5nUR5 URXS9 URSSURUSS	95 S
S
S
5 UR5$!,(df   UR5$=f)z(build flag string optionally by templaterr� s
patchbombflag)r%sflagss%s�flag)�nameN)r#�joinr�stringior
�literal_templatespecr�
unquotestring�templateformatter�	startitem�context�write�
formatlist�getvalue)r"r!�rev�flags�tmpl�out�spec�fms        r'�_formatflagsrV�s���
�9�9�\�?�3�D���y�y����
�-�-�/�C��)�)�)�*A�*A�$�*G�H�D�	�	$�	$�R�.>��D�	I�R�
����
�
�
�t�y�
�!�
����5�"�-�-��G�-�"D�E�
J��<�<�>��	
J�	I��<�<�>��s
�AC�
C;c�t�[XX#5nU(aSU-nU(dSU-$[SU-5nSX�XW4-$)zbuild prefix to patch subjectrCs	[PATCH%s]�%ds[PATCH %0*d of %d%s])rV�len)	r"r!rPrQ�idx�total�numbered�flag�tlens	         r'�
_formatprefixr_�sF����#�-�D���d�{����d�"�"��5�5�=�!��&�$�U�)A�A�Ar)c

��	�/n
SnSnUH�n
U
RS5(a+U
RS5(aU
R5SnMDU
RS5(dU
RS5(a OU
RU
5 M� U	(d
U(d[eUR	S5(aFUR	S5(d0S	RU
S
S5R
5=(d SnUS-
nUR	S
5(a�U(aLUSRS5(a3URS5 U(aUSRS5(aM3U(aURS5 U(aJUSR
5(d2URS5 U(aUSR
5(dM2[R"U5nUR	S5(aX�S--
nUR	S5=(d UR	S5nU(aUR	S5(aUS	RU5-
nU(Gax[R"5nU(a5UR[R"XXTR	S555 [R"S	RU5SUR	S55n[!U5nU	(d�UR#U5Vs/sH3nUR%S5(dUR%S5(dM1UPM5 nnU(aUSn	O8US
:�a[&R("XSXgS9n	O[&R("XS5n	SnUR	S5(aSnUS-[*R,"U	5-US'URU5 O#[R"X�R	S5S9n[/XX$R	S5XgU5nU
SR
5R1S 5nU(d,S!RUUR	S"5=(d U/5nOS!RUU/5n[R2"UUXTR	S55US#'[4R6"U5US$'S%U-US&'S%U-US''UUU4$s snf)(Nr)�#s	# Node ID���sdiff -rs
diff --git�attach�body�
r:s"Patch subject is complete summary.s


�plainrs# �diffstats

�inline�testzx-patchs.patchs.diffs%b-%n.patch)�seqnor[s%b.patch�inline�
attachmentz; filename=�Content-Disposition)�displayrDs. rC�subject�Subject�X-Mercurial-Nodez%izX-Mercurial-Series-IndexzX-Mercurial-Series-Total)�
startswith�splitr,�
ValueErrorr;rF�strip�popr�diffstat�emimemultipart�
MIMEMultipart�attachr
�
mimeencode�
mimetextpatchr�nodetags�endswithr�makefilenamer�strfromlocalr_�rstrip�
headencoder�sysstr)r"r!rP�
patchlinesr=�	_charsetsrZr[r\�	patchname�desc�node�body�line�ds�
addattachment�msg�p�binnode�t�	patchtags�disposition�prefix�subjs                        r'�	makepatchr��s����D��D��D����?�?�4� � ����|�,�,��z�z�|�B�'����?�?�:�&�&�$�/�/�-�*H�*H�����D����T����x�x�	���4�8�8�G�#4�#4��J�J�t�A�B�x� �&�&�(�
5�4�	
�	
�	����x�x�����Z��]�5�5�e�<�<��N�N�1���Z��]�5�5�e�<�<���N�N�1����A��!4�!4�!6�!6��N�N�1����A��!4�!4�!6�!6�
���
�	#�B��x�x�����W�����H�H�Y�'�>�4�8�8�I�+>�M��D�H�H�W�-�-���
�
�:�&�&����*�*�,����J�J�t���r��H�H�W�<M�N�O�����J�J�z�"�I�t�x�x��/@�
���d�)������w�/��/�A��:�:�i�(�(�A�J�J�x�,@��/�
��
�%�a�L�	����#�0�0��J��c��	�$�0�0���[�I�	����8�8�I���'�K��-�'�(�*?�*?�	�*J�J�	
�
� �	�
�
�1�
�� � ��x�x��/@�A��
�
�#�x�x��(�#�h��F���7�=�=�?�!�!�%�(�D���y�y�&�$�(�(�:�"6�">�$�?�@���y�y�&�$��(���_�_�R��y�(�(�7�:K�L�C�	�N�&�o�o�d�3�C���&*�S�j�C�"�#�&*�U�l�C�"�#���b�=���Gs�0S�Sc+��# �URnUSR5nUH�nXT:XaJUSR5(dUSR5(aUR	[S55 [
5n[R"UU/U[R"U[R"U5SS9S9 UR5RS5v� M� g7f)zdreturn a list of patches for a list of revisions

Each patch in the list is itself a list of lines.
�.Ns3warning: working directory has uncommitted changes
T)�git)r=re)r"rP�files�deleted�warnrrGr�
exportfiler�difffeatureoptsr�byteskwargsrOrs)r!�revsr=r"�prev�r�outputs       r'�_getpatchesr�`s����

���B���:�>�>��D�
���9�$�t�*�*�*�,�,��T�
�0B�0B�0D�0D��G�G�A�M�N�O��������
�C���&�&��H�(�(��.�D��		
��o�o��%�%�e�,�,��s�C$C&c�8�URn[R"SS9n[RRUS5nUR
SS5nU(aXbS'/nU(aU/n[R"X0U/UQ70UD6 [R"U5[R"U5 [R"U5 $![a N#f=f![R"U5 O![a Of=f[R"U5 f=f)z�return a bundle containing changesets missing in "dest"

The `opts` keyword-arguments are the same as the one accepted by the
`bundle` command.

The bundle is a returned as a single in-memory binary blob.
shg-email-bundle-)r��bundlerr�type)r"r�mkdtemp�os�pathrFr#r�bundler�readfile�unlink�OSError�rmdir)r!�destr=r"�tmpdir�tmpfn�btype�destss        r'�
_getbundler�vs���
���B�
�
�
�%8�
9�F��G�G�L�L���+�E��I�I�l�M�2�E���V�������F�E�����%�8�%�8�4�8��}�}�U�#�	��I�I�e��	�������	��	��	��I�I�e����	��	��
�����sB�<C�C	�	
C�C�D�C2�1D�2
C?�<D�>C?�?Dc�~�URnURS5(a'[R"URS55nU$UR	[S55 UR
XURSS9nURSS5nUR	U5 SSS5 U$!,(df   U$=f)z�obtain the body of the introduction message and return it

This is also used for the body of email with an attached bundle.

The body can be obtained either from the command line option or entered by
the user through the editor.
r�s7
Write the introductory message for the patch series.

s
patchbombbody)�repopath�actionr0swbN)	r"r;rr�rMr�editr��vfs)r!�defaultbody�senderr=r"r��msgfiles       r'�_getdescriptionr��s���
���B��x�x�����}�}�T�X�X�f�-�.���K�	���
�K�L�	
��w�w��$�)�)�<L��
��
�X�X�'��
/�7��M�M�$��0��K�0�
/��K�s�B-�-
B<c
��URn[R"U5nURS5=(d
 [	USS5n[USU40UD6n[R"5nU(a5UR[R"XGXSRS555 [R"SS5n	U	RU5 SURS	S
5-n
U	RSS[R"U
5S
9 [ R""U	5 URU	5 [R$"XFXSRS55US'X�S4/$)z�Get the full email for sending a given bundle

This function returns a list of "email" tuples (subject, content, None).
The list is always one message long in that case.
�subjectsSubject:sA bundle for your repositoryr)�test�applicationzx-mercurial-bundles%s.hg�
bundlenamer�rmrl)�filenamerpN)r"r
r�r;r6r�rxryrzr{�	emimebase�MIMEBase�set_payload�
add_headerrr��
emailencoders�
encode_base64r�)r!r�r�r=r"r�r�r�r��datapartr�s           r'�_getbundlemsgsr��s'��
���B����r�"�I��8�8�I���&�
�K�8�#�D��4��f�5��5�D�
�
&�
&�
(�C���
�
�4�?�?�2�Y����8H�I�J��!�!�-�1E�F�H����� ��D�H�H�\�9�=�=�J�������&�&�z�2���
����)��J�J�x���_�_�R�y�(�(�6�:J�K�C�	�N�
����r)c
�V�URn[R"U5n[XPUR	5URS5S[
U5SS9nURS5=(d [USUSS9nU(dg	US
-U-nSn	URS5(a&[R"[U/55n
SU
-n	OS	n
[X	U40UD6n	[R"XYXdRS
55n[R"XXXdRS
55US'X�U
4$)z|make an introduction email, asking the user for content if needed

email is returned as (subject, body, cumulative-diffstat)r]rT)r\r�s(optional) Subject: r))r7rNrCrwrer�rp)r"r
r�r_�lastr;rYr6rrw�sumr�r{r�)r!r�r��patchesr=r"r�r�r�r�rwr�s            r'�
_makeintror��s
��
���B����r�"�I��
�$�)�)�+�t�x�x��/��C��L�4��F��8�8�I���&�
�#�&�#�#�D����D�=�4��D��D��x�x�
����>�>�#�g�r�"2�3���x������4�v�6��6�D�
�/�/�"�I�x�x��/?�
@�C��_�_�R�y�(�(�6�:J�K�C�	�N��x� � r)c
��[R"U5nURn[R"U5n[[
X40UD65n/n	UR[S5[U5-5 [Xe[U55(a%[XX(40UD6n
U
(aU	RU
5 [U	5[U5-S:�nSn[U5[U5:Xde[[X(55HDun
up�U(aX=n[UUUUUUU
S-[U5UU5
n
U	RU
5 MF U	$)z�return a list of emails from a list of patches

This involves introduction message creation if necessary.

This function returns a list of "email" tuples (subject, content, None).
s+this patch series consists of %d patches.

r:N)rr�r"r
r��listr�rMrrYrAr�r,�	enumerate�zipr�)r!r�r��
patchnamesr=�	bytesoptsr"r�r��msgsr�r\rE�ir�r�s                r'�
_getpatchmsgsr��s1���$�$�T�*�I�	
���B����r�"�I��;�t�2�T�2�3�G�
�D��H�H�Q�?�
@�3�w�<�
O�P��2�#�g�,�/�/���t�=��=����K�K����4�y�3�w�<�'�!�+�H��D��t�9��G��$�$�$��s�4�1�2�	��6�A���=�D����
�
���
��E���L���
��	
���C��3�"�Kr)c��URn[R"XU(aU/OS5nUVs/sH#n[R"UR5PM% nnUR[
S5SRU5-5 UVs/sHowS:�dM
UPM nnU(dURR5/nURSU=(d SU5nU(dUR[
S55 U$s snfs snf)z4Return the revisions present locally but not in destNscomparing with %s
�,rsoutgoing(%s) and ::%ldr)sno changes found
)r"r�get_push_paths�hidepassword�rawloc�statusrrF�	changelog�tiprevr�)r!r�r�r"�pathsr��
safe_pathsr�s        r'�_getoutgoingr�s���	
���B��"�"�4�t�d�V��F�E�:?�@�%�Q�'�&�&�q�x�x�0�%�J�@��I�I�a�&�'�$�)�)�J�*?�?�@��&�t�!�A�v�A�t�D�&�����%�%�'�(���9�9�.����T�B�D��
�	�	�!�)�*�+��K��A��'s�*D�	D	�D	c��[R"[RS5nSXU4-$![a [R
"5nN(f=f)Ns
HGHOSTNAMEz
<%s.%d@%s>)rr��environ�KeyError�socket�getfqdn)r��	timestamp�hostnames   r'�_msgidr�*sQ��$��(�(��)9�)9�-�)H�I���4�H�5�5�5���$��>�>�#��$�s�'0�A�Ar)rds-send patches as inline message text (default)�arcssend patches as attachments�irhs"send patches as inline attachmentss/email addresses of blind carbon copy recipientssEMAIL�cs"email addresses of copy recipientss#ask for confirmation before sending�drgsadd diffstat output to messages�dates&use the given date as the sending datesDATEr9s,use the given file as the series descriptionsFILE�fsemail address of sender�nris!print messages that would be sent�m�mboxs3write messages to mbox file instead of sending thems)email addresses replies should be sent to�sros0subject of first message (intro or single patch)sTEXTsin-reply-tosmessage identifier to reply tosMSGIDrDs flags to add in subject prefixessFLAG�tsemail addresses of recipients�email�gsgitsuse git extended diff formatrfsomit hg patch header�o�outgoings/send changes not found in the target repository�br�s-send changes not in target as a binary bundle�B�bookmarks-send changes only reachable by given bookmarksBOOKMARKs
bundlenames"name of the bundle attachment filesNAME�r�revsa revision to sendsREVsforces?run even when remote repository is unrelated (with -b/--bundle)sbasesGa base changeset to specify instead of a destination (with -b/--bundle)s-send an introduction email for a single patchshg email [OPTION]... [DEST]...)�helpcategoryc�^^^1^2^3�[R"T5m[R"T5m1TR	S5nTR	S5nTR	S5nTR	S5nTR	S5nTR	S5n	TR	S5(dU(d[R
"T5 U(d;U(d4U(d-U(d&U	(d[R"[S55eU(a&U(a[R"[S	55e[R"TSS5 U(dU(a?[U5S
:�a[R"[S55eU(aUSn
OS
n
/nU(a)U(a[R"[S55eUnONU	(aGX�R;a"[R"[S5U	-5e[R"X5n[R "X5nU(a
[#UW
U5nU(aUVs/sHnSU-PM
 snTS'UR$R'SS5nU(Ga�UR$R)S5 [*R,"U0U5n
U
R3S5(dUR$R)S5 GOUVs/sHo�UPM	 nnU
R5SU55n/n[7U5H#unnUU(aMUR9U5 M% U(a�[U5S
:�a#[S5nUUUS[U5S
-
4-nO[S5nUUUS4-nUVs/sHnUR;5PM nnSR=SUR?SU555n[S5UU4-n[R"UUS9eU(a[@RB"U5m3O[@RD"5m3U34S jnTR	S!5=(dM TR'S"S!5=(d4 TR'SS!5=(d [GTS#TRI55nU(aT[RJ"T5n[MUW
40UD6nURO5nURQS$S
5 [SUUU40UD6nO"[UUUU40[RJ"T5D6n/m2S[U1UU2U4S&jjnU"S'S(S)9nU(d[R"[S*55eU"S+S(S,S-9n U"S.5n!U"S/5n"TRWSS05n#U#[YTR	S15=(d TR	S055-n#U#(a�TR[[S25S3S49 TR[S5U-S6S49 T2Hn$TR[S7U$-S8S49 M UH3un%n&n'TR[S9U&-S:S49 U'(dM#TR[U'S;S49 M5 TR[S<5 TR][S=55(a[R"[S>55eTR[S<5 TR	S?5=(d S
n(U(bL[^R`"U(5n(U(RcS@5(dS@U(-n(U(ReSA5(dU(SA-
n([fRh"[^R`"U55S
n)[Rj"TUT1TR	S55nS
n*S
n+TRm[SB5[SC5[U5SD9n,[7U5GH+un-un%n&n'U"U%SE5U%SF'U+(dU%SFn+U+U%SG'U((a
U(U%SI'U(U%SJ'U((aSEU%;aU%SFn(SK[pRr"5Ru5-U%SL'[fRv"T3SS(SM9U%SN'T3SS
-T3S
4m3UU%SO'SPR=U5U%SQ'U (aSPR=U 5U%SR'U!(aSPR=U!5U%SS'U"(aSPR=U"5U%ST'TR	S5(aiTRy[SU5U&SV5 TR{S"5 [R|"TS%SW9n.U.RU%S%5 TR[S<5 GM�U*(d[R�"TUSX9n*TRy[SY5U&SV5 U,R�U-U&SZ9 U(dU%SS	[�5n/[R|"U/S%SW9n.U.RU%S%5 UU!-U -n0U*"U)U0U/R�55 GM. U,R�5 g
s snf![R.a) UR$R1[S5U-5 ef=fs snfs snf![na U"SH5U%SF'GN}f=f![�a GM�f=f)\aUsend changesets by email

By default, diffs are sent in the format generated by
:hg:`export`, one per message. The series starts with a "[PATCH 0
of N]" introduction, which describes the series as a whole.

Each patch email has a Subject line of "[PATCH M of N] ...", using
the first line of the changeset description as the subject text.
The message contains two or three parts. First, the changeset
description.

With the -d/--diffstat option, if the diffstat program is
installed, the result of running diffstat on the patch is inserted.

Finally, the patch itself, as generated by :hg:`export`.

With the -d/--diffstat or --confirm options, you will be presented
with a final summary of all messages and asked for confirmation before
the messages are sent.

By default the patch is included as text in the email body for
easy reviewing. Using the -a/--attach option will instead create
an attachment for the patch. With -i/--inline an inline attachment
will be created. You can include a patch both as text in the email
body and as a regular or an inline attachment by combining the
-a/--attach or -i/--inline with the --body option.

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

With -o/--outgoing, emails will be generated for patches not found
in the destination repository (or only those which are ancestors
of the specified revisions if any are provided)

With -b/--bundle, changesets are selected as for --outgoing, but a
single email containing a binary Mercurial bundle as an attachment
will be sent. Use the ``patchbomb.bundletype`` config option to
control the bundle type as with :hg:`bundle --type`.

With -m/--mbox, instead of previewing each patchbomb message in a
pager or sending the messages directly, it will create a UNIX
mailbox file with the patch emails. This mailbox file can be
previewed with any mail user agent which supports UNIX mbox
files.

With -n/--test, all steps will run, but mail will not be sent.
You will be prompted for an email recipient address, a subject and
an introductory message describing the patches of your patchbomb.
Then when all is done, patchbomb messages are displayed.

In case email sending fails, you will find a backup of your series
introductory message in ``.hg/last-email.txt``.

The default behavior of this command can be customized through
configuration. (See :hg:`help patchbomb` for details)

Examples::

  hg email -r 3000          # send patch 3000 only
  hg email -r 3000 -r 3001  # send patches 3000 and 3001
  hg email -r 3000:3005     # send patches 3000 through 3005
  hg email 3000             # send patch 3000 (deprecated)

  hg email -o               # send all patches not in default
  hg email -o DEST          # send all patches not in DEST
  hg email -o -r 3000       # send all ancestors of 3000 not in default
  hg email -o -r 3000 DEST  # send all ancestors of 3000 not in DEST

  hg email -B feature       # send all ancestors of feature bookmark

  hg email -b               # send bundle of all patches not in default
  hg email -b DEST          # send bundle of all patches not in DEST
  hg email -b -r 3000       # bundle of all ancestors of 3000 not in default
  hg email -b -r 3000 DEST  # bundle of all ancestors of 3000 not in DEST

  hg email -o -m mbox &&    # generate an mbox file...
    mutt -R -f mbox         # ... and view it with mutt
  hg email -o -m mbox &&    # generate an mbox file ...
    formail -s sendmail \   # ... and use formail to send from the mbox
      -bm -t < mbox         # ... using sendmail

Before using this command, you will need to enable email in your
hgrc. See the [email] section in hgrc(5) for details.
r�r�r�r�rr�ris0specify at least one changeset with -B, -r or -osE--outgoing mode always on with --bundle; do not re-specify --outgoingr:stoo many destinationsrNs)use only one form to specify the revisionsbookmark '%s' not foundrXsrevsrrs0checking that revision exist in the public repo
s!unable to access public repo: %s
sknowns/skipping existence checks: public repo too old
c3�@# �UHoR5v� M g7f�N)r���.0�hs  r'�	<genexpr>�email.<locals>.<genexpr>Is���$;�s�!�V�V�X�X�s�s�s'public "%s" is missing %s and %i othersspublic url %s is missing %srCc3�,# �UH
nSU-v� M g7f)s-r %sN�rs  r'rr	Vs���$�*N�Q�H�q�L�*N�s�s
heads(%ld)suse 'hg push %s %s')�hintc�:>�[USS[TS55$)N�r)r��int)�id�
start_times �r'�genmsgid�email.<locals>.genmsgidbs����b��"�g�s�:�a�=�1�2�2r)rr�sFromr�Fc�>�UR5nURSS5R5nT	RU5nU(aMT
RSUSR	U54-5 [
R"TUTT	RS55$TRSU5=(d TRSU5nU(dCTRSU5=(d TRSU5nU(dU(a
[TXS9nU(a>T
RSX4-5 [
R"TU/TT	RS55$U(a)[
R"TU/TT	RS55$/$)	N�-�_s%s: %ss, rir�rr)
�lower�replacer;r,rFr
�addrlistencoder#�	hasconfigr6)�header�askr�	configkey�opt�addrs�addr�	specifiedr�r=�	showaddrsr"s        ����r'�getaddrs�email.<locals>.getaddrsxsG����L�L�N�	��n�n�T�4�(�.�.�0������
������Y�&�%�*�*�U�2C�)D�D�E��&�&�r�5�)�T�X�X�g�=N�O�O��y�y��9�-�
�����)�2
������X�y�9��R�\�\��i�>�I����b�&�:������Y�&��7�8��&�&�r�D�6�9�d�h�h�w�>O�P�P�
��&�&��W�I�y�$�(�(�7�*;��
��	r)sToT)rsno recipient addresses providedsCcr))rrsBccsReply-Torrgs
Final summary:

spatchbomb.finalsummary)�labels	From: %s
spatchbomb.froms%s
spatchbomb.tosSubject: %s
spatchbomb.subjectspatchbomb.diffstatsres1are you sure you want to send (yn)?$$ &Yes $$ &Nospatchbomb canceledsin_reply_to�<�>ssendingsemails)�unitr[rqz
Message-IdzX-Mercurial-Series-Id�	patchbombzIn-Reply-To�
ReferenceszMercurial-patchbomb/%sz
User-Agent)�	localtime�Date�Fromz, �To�Cc�BcczReply-Tosdisplaying s ...
)�mangle_from_)�mboxssending )�item)FN)Frr�r
r�r;�validateconfigr	�Abortrr�check_at_most_one_argrY�
_bookmarksr�bookmarkrevsr�revranger�r"r#�debugr�peer�	RepoErrorr<�capable�knownr�r,rPrF�setr�	parsedate�makedater6�username�	strkwargsr��copyrvr�r��
configbool�boolrM�promptchoicerr�rrr~�eutil�	parseaddr�
addressencode�makeprogress�	TypeErrorr�version�decode�
formatdater��pager�	Generator�flatten�BrokenPipeError�connect�updaterGrO�complete)4r"r!r�r=r��dater2�outgoingrP�bookmarkr�r�r&�
publicpeerrSr>�missingrZrr�r%�missingrevs�revhintrrr��stropts�
bundledata�
bundleoptsr�r#�to�cc�bcc�replyto�confirmr �mr�r��parent�sender_addr�sendmail�
firstpatch�progressr��	generator�fp�alldestsr�r"rs4`  `                                             @@@r'�emailroqs����h����%�D����r�"�I�
�X�X�i�
 �F��8�8�G��D��8�8�G��D��x�x��$�H�
�(�(�6�
�C��x�x��$�H��H�H�W�������B���C�8�v���k�k�
�A�B�
�	
��F��k�k�
�1�
�
�	
��!�!�$���<��6��t�9�q�=��+�+�a� 8�9�:�:����7�D��D���
���+�+�a� L�M�N�N���	��?�?�*��+�+�a� :�;�h�F�G�G��#�#�D�3�����t�*�D���D�$��-��
�,0�1�D�q����D�1��W�
������|�\�:�I�����
�
�J�K�	�����r�9�5�J��!�!�(�+�+��G�G�M�M�M�N�$(�)�D�q��7�D�C�)��$�$�$;�s�$;�;�E��G�#�C�.���Q��S�z�z��N�N�1�%�)���w�<�!�#��F�G�C��I�w�q�z�3�w�<�!�3C�D�D�C��:�;�C��I�w�q�z�2�2�C�4;�<�G�S�s�w�w�y�G��<��)�)�$�*.�(�(�=�+�*N�$����/�0�I�w�3G�G���k�k�#�D�1�1���'�'��-�
��&�&�(�
�3�
	
�����	.�
�9�9�X�w�'�	.�
�9�9�\�7�+�	.��"�g�r�{�{�}�-�	���$�$�T�*����d�6�g�6�
��\�\�^�
����x��&��d�F�J�E�*�E���T�6�4�L�8�3E�3E�d�3K�L���I���6
�%�T�	"�B�
��k�k�!�>�?�@�@�	�%�T�3�	/�B�
�6�
�C��{�#�G��m�m�L�*�5�G��t�D�H�H�[�)�A�T�X�X�j�-A�B�B�G��
����*�+�3L��M�
���-�&�(�1B��C��D��H�H�W�t�^�?�H�;���K�A�t�R��H�H�&��-�6J�H�K��r�����#9��:� �	�����
�?�?�
�B�C�
�
��+�+�a� 5�6�7�7��H�H�U�O�
�X�X�n�
%�
-��F�
���&�&�v�.��� � ��%�%��6�\�F����s�#�#��c�M�F��/�/�(�"7�"7��"?�@��C�K�
�
�
��F�I�t�x�x��7H�
I�F��H��J����	�*�
�A�i�L��D�	���H�&�d�O���=�A�t�R�	4�&�q�);�'<�=�A�l�O���|�_�
�)3�A�%�&��%�A�m��$�A�l�O��+�1�4��|�_�F�2�T�\�\�^�5J�5J�5L�L��,���$�$�Z��]�d�C��&�	� ��m�a�'��A��7�
���&�	��)�)�B�-��$��
��i�i��m�A�d�G���y�y��~�A�e�H�� �I�I�g�.�A�j�M��8�8�G����I�I�a��'��y�9��H�H�X�����r��>�I�
��!�!�!�U�+��������<�<���6���I�I�a��n�d�I�6��O�O�A�D�O�)���e�H���B����r��>�I����a��'��C�x�"�}�H��[�(�B�K�K�M�:�_,�b
�����q2�����	��G�G����7�8�9�D�
�
�		��*��=��`�	4�&�{�3�A�l�O�	4��6#�
��
�sB�g#�'g(�6h(�$h-�.h2�#i�(=h%�2i�
i�
i�i)N�:r)B�__doc__�
__future__r�email.encoders�encodersr��email.mime.base�mime�baser��email.mime.multipart�	multipartrx�email.utils�utilsrHr�r��mercurial.i18nr�mercurial.noder�	mercurialrrrr	r
rrr
rrrrrr�mercurial.utilsrrrG�cmdtable�command�configtable�
configitem�
testedwithr(r.r4r6rArVr_r�r�r�r�r�r�r�r�r��	emailopts�
remoteopts�CATEGORY_IMPORT_EXPORTrorr)r'�<module>r�s���A�F#�&�#�#�-�-��	�
������� �
�=�=��
��
�
�
�H�
%����
�
!�
!�+�
.�
�
�����
��
���
��	���
�����
�����
�����
�����
�����
�����
��	���#�
�
� 8�
1�-��(�
B�.�`�F-�,�8�4�<!�B,�^
� 6�	�'�4��K�L�M�	�9�d�A�<�=�>�	�9�d�A�C�D�E���
�	�
<�=�	�(���
�5�"�a�=�>��(��L��*�d�A�D�E�F�	�;��a� B�C�D����	�
3�4�	�'�
��	���	�
9�:�	�'�
��
�7�C��5�6��(��D�	�7�D�!�@�A�B����	�
@�A�	�'�
��	��
�	�
6�7�	�(���	
���	�
=�>�	�'�
��	���	�
+�,�	�(���	�'�2�q�<�=�q��z�J�	�5�"�a�8�9�1�X�;�G�w<
�	�~	��	
�v�t�Q�>�?�@�	�h��a� 7�8�9����
�@�A�		
�
���
�>�?�		
�
���
�>�?�
�k�N�	
�
���
�3�4�
�g�J�	
�
�v�r�1�2�3�Q�v�Y�?����
�&�
�		
�
���
�&�
�
�f�I�		
�
���
�>�?�		
�c7�p�q8�r���s9�t�'�(��/�/�{>�~@�>�~@r)

Youez - 2016 - github.com/yon3zu
LinuXploit