a —+«bn|ã@sdZddlmZddlmZddlmmZ ddl mm Z ddl mZddlZddlZddlZddlmZddlmZddlmZddlmZmZmZmZmZmZm Z m!Z!m"Z"m#Z#m$Z$m%Z%m&Z&m'Z'ddl(m)Z)m*Z*e'j+Z+iZ,e$ -e,¡Z-iZ.e$ /e.¡Z/e/d d dd e/d d dd e/d d dd e/d ddd e/d ddd e/d ddd e/d ddd e/d ddd e/d ddd e/d ddd dZ0dd„Z1dd„Z2dd„Z3d…dd „Z4d!d"„Z5d#d$„Z6d%d&„Z7d†d'd(„Z8d)d*„Z9d+d,„Z:d-d.„Z;d/d0„Zd5d6„Z?d7d8„Z@d9d:ded;ƒfdƒfd?d@dedAƒfd9d gedBƒedCƒfdDd gedEƒedCƒfd9ddedFƒfdGdHdedIƒfd9dJd9edKƒedLƒfd9dMd9edNƒedOƒfdPdd9edQƒedCƒfdRdSdedTƒfdUdVd9edWƒedOƒfd9dgedXƒedCƒfdYdZd9ed[ƒed\ƒfd9d]d9ed^ƒed_ƒfd9d`gedaƒedbƒfdcdgeddƒedCƒfgZAe-dedfdgdedhƒfd9didedjƒfdkdldedmƒfdndodedpƒfdqdrd9edsƒedtƒfd9dudoedvƒedwƒfdxdygedzƒed{ƒfd9d|ded}ƒfd9d~gedƒed{ƒfd9dded€ƒfg eAejBedƒe-jCd‚dƒd„„ƒZDdS)ˆas 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 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. é)Úabsolute_importN)Ú_)Úopen)Ú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-corecCs,| ¡}|j dd¡}|r(d|||fSdS)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 Ú publicurl©r&ú5/usr/lib64/python3.9/site-packages/hgext/patchbomb.pyÚ_addpullheader®sýr(cCstj d¡ttjd<dS)Nspullurl)rZ extraexportÚappendr(Zextraexportmap)r!r&r&r'Úuisetup¾s r*cCs| ¡s dS|j d¡dS)Nólast-email.txt)ÚlocalZ_wlockfreeprefixÚadd)r!r r&r&r'Ú reposetupÃsr.ó:cCs |r|d|7}| |||¡S)Ns [%s])Úprompt)r!r0rÚrestr&r&r'r0És r0cCs€| dd¡}| d¡s | d¡r&d}nV|dkr4d}nH|dkrBd}n:|dkrT|d k}n(| td ƒ|¡| td ƒ¡|d k}|S) 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!ÚoptsZnumberZ introconfigZintror&r&r'Ú introwantedÏs   ÿr7c Csœ| dd¡}|sd |¡St ¡}t t |¡¡}t ||di|¡@}|  ¡|j ||d|  dd|j |dd ¡Wd ƒn1sŠ0Y|  ¡S) z(build flag string optionally by templaterró s patchbombflag)r$sflagss%sóflag)ÚnameN)r"ÚjoinrÚstringior Zliteral_templatespecrZ unquotestringZtemplateformatterZ startitemÚcontextÚwriteZ formatlistÚgetvalue)r!r ÚrevÚflagsZtmplÚoutÚspecZfmr&r&r'Ú _formatflagsãs  6rDc CsFt||||ƒ}|rd|}|s&d|Std|ƒ}d||||fSdS)zbuild prefix to patch subjectr8s [PATCH%s]ó%ds[PATCH %0*d of %d%s]N)rDÚlen) r!r r@rAÚidxÚtotalÚnumberedÚflagÚtlenr&r&r'Ú _formatprefixñs rLc  Csäg} d} d} |D]H} |  d¡r6|  d¡r|  ¡d} q|  d¡sJ|  d¡rNqZ|  | ¡q| sf| sft‚| d¡rœ| d¡sœd  | d d…¡ ¡p’d } | d 7} | d ¡rî|rÄ|d d¡rÄ| d¡q¦|rÒ| d¡|rî|d ¡sî| d¡qÒt  |¡}| d¡r| |d7} | d¡p$| d¡}|r8| d¡rF| d  |¡7} |r*t   ¡}| rv|  t  || || d¡¡¡t  d  |¡d| d¡¡}t| ƒ}| sôdd„| |¡Dƒ}|rÂ|d} n2|d krätj|| d||d} nt || d¡} d}| d¡rd}|dt | ¡|d<|  |¡nt j| | d¡d}t|||| d¡|||ƒ}| d ¡ d ¡}|sŒd! || d"¡p„|g¡}nd! ||g¡}t  |||| d¡¡|d#<t | ¡|d$<d%||d&<d%||d'<|||fS)(Nóó#s # Node IDéÿÿÿÿsdiff -rs diff --gitóattachóbodyó r3s"Patch subject is complete summary.s óplainrs# ódiffstats óinlineótestzx-patchcSs$g|]}| d¡s| d¡r|‘qS)s.patchs.diff)Úendswith)Ú.0Útr&r&r'Ú <sþzmakepatch..s %b-%n.patch)ZseqnorHs%b.patchZinlineÚ attachmentz ; filename=úContent-Disposition)Zdisplayr9s. r8ósubjectÚSubjectúX-Mercurial-Nodez%izX-Mercurial-Series-IndexzX-Mercurial-Series-Total)Ú startswithÚsplitr)Ú ValueErrorr4r;ÚstripÚpoprÚdiffstatÚemimemultipartÚ MIMEMultipartÚattachr Ú mimeencodeZ mimetextpatchrZnodetagsrZ makefilenamerÚ strfromlocalrLÚrstripÚ headencoderZsysstr)r!r r@Z patchlinesr6Ú _charsetsrGrHrIZ patchnameÚdescÚnodeÚbodyÚlineÚdsZ addattachmentÚmsgÚpZbinnodeZ patchtagsZ dispositionÚprefixÚsubjr&r&r'Ú makepatchþsŠ     þ       ÿþ   ÿ ÿ ÿ  rwc ks„|j}|d ¡}|D]h}||krH|d ¡s:|d ¡rH| tdƒ¡tƒ}tj||g|t j ||ddd|  ¡  d¡VqdS)zlreturn 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)r6rR) r!r@ÚfilesZdeletedÚwarnrr<rZ exportfilerZdifffeatureoptsr?ra)r Úrevsr6r!ÚprevÚrÚoutputr&r&r'Ú _getpatchesbs  ÿr€cKsü|j}tjdd}tj |d¡}| dd¡}|r8||d<zg}|rH|g}tj|||g|¢Ri|¤Žt   |¡Wzt  |¡Wnt yŽYn0t  |¡Szt  |¡Wnt y¼Yn0t  |¡n.zt  |¡Wnt yêYn0t  |¡0dS)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-)ruóbundlerrÚtypeN)r!rZmkdtempÚosÚpathr;r"rÚbundlerZreadfileÚunlinkÚOSErrorÚrmdir)r Údestr6r!ZtmpdirZtmpfnZbtypeZdestsr&r&r'Ú _getbundless8     ú  ü rŠcKsh|j}| d¡r$t| d¡ƒ ¡}n@| tdƒ¡|j|||jdd}| dd¡}| |¡|  ¡|S)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. rns7 Write the introductory message for the patch series. s patchbombbody)ZrepopathÚactionr+swb) r!r4rÚreadr>rZeditr„ZvfsÚclose)r Z defaultbodyÚsenderr6r!rpZmsgfiler&r&r'Ú_getdescriptions ÿ ÿ  rc KsØ|j}t |¡}| d¡p$t|ddƒ}t|d|fi|¤Ž}t ¡}|rb| t  |||| d¡¡¡t   dd¡} |   |¡d| d d ¡} | j d d t | ¡d t | ¡| | ¡t |||| d¡¡|d<||dfgS)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 repositoryrMÚtestZ applicationzx-mercurial-bundles%s.hgÚ bundlenamerr\r[)Úfilenamer^N)r!r rmr4r0rrfrgrhriÚ emimebaseZMIMEBaseZ set_payloadZ add_headerrrjÚ emailencodersZ encode_base64rl) r rŽr…r6r!rmrvrprsZdatapartr’r&r&r'Ú_getbundlemsgs¨s*  ÿ  ý  r–c KsÜ|j}t |¡}t||| ¡| d¡dt|ƒdd}| d¡pLt|d|dd}|sVd S|d |}d} | d ¡rŠt  t |gƒ¡} d | } nd } t || |fi|¤Ž} t  || || d ¡¡} t  |||| d ¡¡| d<| || fS)z€make an introduction email, asking the user for content if needed email is returned as (subject, body, cumulative-diffstat)rJrT)rIrs(optional) Subject: rM)r1rNr8rerRr‘r^)r!r rmrLZlastr4rFr0rreÚsumrrirl) r rŽr|Úpatchesr6r!rmrurvrprersr&r&r'Ú _makeintroÆs( ÿ ÿ   r™c Kst |¡}|j}t |¡}tt||fi|¤Žƒ}g} | tdƒt |ƒ¡t ||t |ƒƒr~t ||||fi|¤Ž} | r~|   | ¡t | ƒt |ƒdk} d} t |ƒt |ƒksªJ‚t t||ƒƒD]D\} \}}|rÐ|| } t||||||| dt |ƒ| | ƒ } |   | ¡q¸| S)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. r3N)rÚ byteskwargsr!r rmÚlistr€r>rrFr7r™r)Ú enumerateÚziprw)r rŽr|Z patchnamesr6Z bytesoptsr!rmr˜ÚmsgsrsrIr:Úir~rtr&r&r'Ú _getpatchmsgsçs<   ö r cCsŠ|j}t |||r|gnd¡}dd„|Dƒ}| tdƒd |¡¡dd„|Dƒ}|sb|j ¡g}| d|pnd|¡}|s†| td ƒ¡|S) z4Return the revisions present locally but not in destNcSsg|]}t |j¡‘qSr&)rZ hidepasswordZrawloc)rXrtr&r&r'rZrMz _getoutgoing..scomparing with %s ó,cSsg|]}|dkr|‘qS)rr&©rXr~r&r&r'rZrMsoutgoing(%s) and ::%ldrMsno changes found ) r!rZget_push_pathsÚstatusrr;Z changelogZtiprevr|)r r‰r|r!ÚpathsZ safe_pathsr&r&r'Ú _getoutgoings r¥cCs>zt tjd¡}Wnty.t ¡}Yn0d|||fS)Ns HGHOSTNAMEz <%s.%d@%s>)rrjÚenvironÚKeyErrorÚsocketZgetfqdn)roZ timestampÚhostnamer&r&r'Ú_msgid&s  rªrMrQs-send patches as inline message text (default)óarPssend patches as attachmentsóirUs"send patches as inline attachmentss/email addresses of blind carbon copy recipientssEMAILócs"email addresses of copy recipientss#ask for confirmation before sendingódrTsadd diffstat output to messagesódates&use the given date as the sending datesDATEr2s,use the given file as the series descriptionsFILEófsemail address of senderónrVs!print messages that would be sentómómboxs3write messages to mbox file instead of sending thems)email addresses replies should be sent toósr]s0subject of first message (intro or single patch)sTEXTs in-reply-tosmessage identifier to reply tosMSGIDr9s flags to add in subject prefixessFLAGótsemail addresses of recipientsóemailógsgitsuse git extended diff formatrSsomit hg patch headeróoóoutgoings/send changes not found in the target repositoryóbrs-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]...)Z helpcategoryc0 s–t ˆ¡‰t ˆ¡‰ˆ d¡}ˆ d¡}ˆ d¡}ˆ d¡}ˆ d¡}ˆ d¡} ˆ d¡sh|sht ˆ¡|sŠ|sŠ|sŠ|sŠ| sŠt tdƒ¡‚|r |r t td ƒ¡‚t   ˆdd¡|s¶|ræt |ƒd krÐt td ƒ¡‚|rÞ|d } nd } g}|r|rþt tdƒ¡‚|}n0| r4| ˆj vr(t tdƒ| ¡‚t  ˆ| ¡}t ˆ|¡}|rRtˆ| |ƒ}|rjdd„|Dƒˆd<ˆj dd¡} | rΈj d¡zt ˆi| ¡} Wn,tjyȈj tdƒ| ¡‚Yn0|  d¡säˆj d¡nê‡fdd„|Dƒ} |  dd„| Dƒ¡}g}t| ƒD]\}}||s| |¡q|rÎt |ƒd krntdƒ}|| |d t |ƒd f;}ntdƒ}|| |d f;}dd„|Dƒ}d d d„ˆ d!|¡Dƒ¡}td"ƒ| |f}tj||d#‚|ràt  |¡‰nt !¡‰‡fd$d%„}ˆ d&¡p*ˆ d'd&¡p*ˆ dd&¡p*t"ˆd(ˆ #¡ƒ}|rxt $ˆ¡}t%ˆ| fi|¤Ž}| &¡}| 'd)d ¡t(ˆ||fi|¤Ž}nt)ˆ||fit $ˆ¡¤Ž}g‰da‡‡‡‡fd+d,„ }|d-d.d/}|sÊt td0ƒ¡‚|d1d.d2d3}|d4ƒ}|d5ƒ} ˆ *dd6¡}!|!t+ˆ d7¡p ˆ d6¡ƒO}!|!rºˆj,td8ƒd9d:ˆj,d;|dd:q@|D]2\}#}$}%ˆj,d?|$d@d:|%r^ˆj,|%dAd:q^ˆ ,dB¡ˆ -tdCƒ¡rºt tdDƒ¡‚ˆ ,dB¡ˆ dE¡pÒd }&|&d urt. /|&¡}&|& 0dF¡südF|&}&|& 1dG¡s|&dG7}&t2 3t. /|¡¡d }'t 4ˆ|ˆˆ d¡¡}d }(d })ˆj5tdHƒtdIƒt |ƒdJ}*t|ƒD] \}+\}#}$}%z*||#dKƒ|#dL<|)s–|#dL})|)|#dM<Wn t6yÀ|dNƒ|#dL<Yn0|&rØ|&|#dO<|&|#dP<|&rèdK|#vrð|#dL}&dQt7 8¡ 9¡|#dR<t2j:ˆd d.dS|#dT<ˆd d ˆd f‰||#dU<dV |¡|#dW<|rXdV |¡|#dX<|rldV |¡|#dY<| r€dV | ¡|#dZ<ˆ d¡r ˆ ;td[ƒ|$d\¡ˆ |#d*¡ˆ ,dB¡Wn6t?y}-z|-j@t@jAkrò‚WYd }-~-n d }-~-00n||(stjBˆ|d^}(ˆ ;td_ƒ|$d\¡|*jC|+|$d`|sJ|#dY=tDƒ}.tj=|.d*d]},|, >|#d*¡|||}/|(|'|/|. E¡ƒqf|* F¡d S)baQsend 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. rr¯r³r¹r¾r¼rVs0specify at least one changeset with -B, -r or -osE--outgoing mode always on with --bundle; do not re-specify --outgoingr3stoo many destinationsrNs)use only one form to specify the revisionsbookmark '%s' not foundcSsg|] }d|‘qS)rEr&r¢r&r&r'rZ4rMzemail..srevsrrs0checking that revision exist in the public repo s!unable to access public repo: %s sknowns/skipping existence checks: public repo too old csg|] }ˆ|‘qSr&r&r¢)r r&r'rZDrMcss|]}| ¡VqdS)N)ro©rXÚhr&r&r'Ú ErMzemail..s'public "%s" is missing %s and %i othersspublic url %s is missing %scSsg|] }| ¡‘qSr&)r@)rXr$r&r&r'rZQrMr8css|]}d|VqdS)s-r %sNr&r¿r&r&r'rÁRss heads(%ld)suse 'hg push %s %s')Úhintcst|dd…tˆdƒƒS)Nér)rªÚint)Úid)Ú start_timer&r'Úgenmsgid^szemail..genmsgidrr¶sFromr…Fcsì| ¡}| dd¡ ¡}ˆ |¡}|rTˆ d|d |¡f¡t ˆ|ˆˆ d¡¡Sˆ d|¡pjˆ d|¡}|sžˆ d|¡p†ˆ d|¡}|sž|ržt ˆ||d}|r̈ d||f¡t ˆ|gˆˆ d¡¡S|rèt ˆ|gˆˆ d¡¡SgS) Nó-ó_s%s: %ss, rVr¶rr) ÚlowerÚreplacer4r)r;r Zaddrlistencoder"Z hasconfigr0)ÚheaderÚaskrZ configkeyÚoptZaddrsÚaddrZ specified)rmr6Ú showaddrsr!r&r'Úgetaddrsts. ÿÿÿzemail..getaddrssToT)rÍsno recipient addresses providedsCcrM)rÍrsBccsReply-TorrTs Final summary: spatchbomb.finalsummary)Zlabels From: %s spatchbomb.froms%s s patchbomb.tos Subject: %s spatchbomb.subjectspatchbomb.diffstatsrRs1are you sure you want to send (yn)?$$ &Yes $$ &Nospatchbomb canceleds in_reply_toú<ú>ssendingsemails)ZunitrHr_z Message-IdzX-Mercurial-Series-IdZ patchbombz In-Reply-ToZ ReferenceszMercurial-patchbomb/%sz User-Agent)Ú localtimeZDateZFromz, ZToZCcZBcczReply-Tos displaying s ... )Z mangle_from_)Úmboxssending )Úitem)FN)Grršr rmr4Zvalidateconfigr ZAbortrrZcheck_at_most_one_argrFZ _bookmarksrZ bookmarkrevsr Zrevranger¥r!r"Údebugr ZpeerZ RepoErrorr5ZcapableÚknownrœr)r;ÚsetrZ parsedateZmakedater0ÚusernameZ strkwargsrŠÚcopyrdr–r Z configboolÚboolr>Z promptchoicerrjr`rWÚeutilZ parseaddrZ addressencodeZ makeprogressÚ TypeErrorrÚversionÚdecodeZ formatdater£ZpagerÚ GeneratorZflattenÚIOErrorÚerrnoZEPIPEZconnectÚupdater<r?Zcomplete)0r!r r|r6r…ÚdaterÕZoutgoingr@Zbookmarkr‰r%Z publicpeerrBrØÚmissingrGrÀrsZ missingrevsZrevhintrÂrÇrŽZstroptsZ bundledataZ bundleoptsržrÑÚtoZccZbccZreplytoZconfirmrÏÚmrvrrÚparentZ sender_addrZsendmailZ firstpatchZprogressrŸÚ generatorÚinstÚfpZalldestsr&)rmr6r rÐrÆr!r'Úemailms^         ÿÿÿ        ÿ    ÿ    ÿ þü     ÿ     ÿ      rí)Nr/)N)N)EÚ__doc__Z __future__rZemail.encodersZencodersr•Zemail.mime.baseZmimeÚbaser”Zemail.mime.multipartZ multipartrfZ email.utilsZutilsrÝrãrƒr¨Zmercurial.i18nrZmercurial.pycompatrZmercurial.noderZ mercurialrrrr r r r r rrrrrrZmercurial.utilsrrr<ZcmdtableZcommandZ configtableZ configitemZ testedwithr(r*r.r0r7rDrLrwr€rŠrr–r™r r¥rªZ emailoptsZ remoteoptsZCATEGORY_IMPORT_EXPORTrír&r&r&r'Ús†B      @  ýýýýýýýýýý  ö d! / ûûûûûûûÅ?üüûûÿü ÿø üÏ8È9Ç:Ã?