Ë Ë3q¼,N �ãó„—ddlmZmZmZmZmZmZmZmZm Z ddl m Z d„Z d„Z e jddd¬ «d „«Zd „Zy ) é) Úbundle2ÚerrorÚexchangeÚ extensionsÚhgÚ narrowspecÚwireprototypesÚwireprotov1peerÚwireprotov1serveré)Ú narrowbundle2có6—ttj_y)N)Úpeernarrowwidenr ÚwirepeerÚ narrow_widen©óú?usr/lib/python3.12/site-packages/hgext/narrow/narrowwirepeer.pyÚuisetuprs€Ü,;„O×ÑÕ)rcóN‡—ˆfd„}tjj|«y)Ncó>•—ˆfd„}tj|d|«y)Ncó”•—|dk(r7‰j\}}dj|«|d<dj|«|d<||g|¢­i|¤ŽS)Nsunbundleó,Ú includepatsÚ excludepats)Ú narrowpatsÚjoin)ÚorigÚcmdÚargsÚkwargsÚincludeÚexcludeÚrepos €rÚwrappedz1reposetup..wirereposetup..wrappedsVø€Ø�kÒ!ð$(§?¡?Ñ �˜Ø(,¯ © °'Ó(:��}Ñ%Ø(,¯ © °'Ó(:��}Ñ%Ù˜Ð-˜dÒ- fÑ-Ð -rs_calltwowaystream)rÚ wrapfunction)ÚuiÚpeerr%r$s €rÚ wirereposetupz reposetup..wirereposetupsø€ô .ô ×Ñ Ð&:¸GÕDr)rÚwirepeersetupfuncsÚappend)r$r)s` rÚ reposetupr,sø€ô Eô×Ñ× Ñ  Õ/ró narrow_widensToldincludes oldexcludes newincludes newexcludes commonheads cgversion known ellipsesspull)Ú permissionc ó—d} d„} | |«}| |«}| |«}| |«}|jjtj«rtj|d|i«t j t|««t j t|««t j t|««t j t|««tj|«} tj|«}| dk(rd} n t| «} |}tj|j«} t j|j||¬«}t j|j||¬«}| stj| |||| ||| «nt!j"| ||||| |«| j3«}tj4|| ¬ «S#t$j&$r‹}tj|j«} d|j(fg}g}|j*�|j-d|j*f«| j/tj0d ||««d } Yd}~ŒÀd}~wwxYw) aƒwireprotocol command to send data when a narrow clone is widen. We will be sending a changegroup here. The current set of arguments which are required: oldincludes: the old includes of the narrow copy oldexcludes: the old excludes of the narrow copy newincludes: the new includes of the narrow copy newexcludes: the new excludes of the narrow copy commonheads: list of heads which are common between the server and client cgversion(maybe): the changegroup version to produce known: list of nodes which are known on the client (used in ellipses cases) ellipses: whether to send ellipses data or not Fcó,—|r|jd«SgS)Nr)Úsplit)Údatas rÚ splitpathsz narrow_widen..splitpathsQs€á'+�4—:‘:˜dÓ#Ð 3°Ð 3rró0)r"r#smessageNshints error:abortT)ÚgenÚprefer_uncompressed)r'Ú has_sectionrÚ_NARROWACL_SECTIONÚapplynarrowaclrÚvalidatepatternsÚsetr Ú decodelistÚboolrÚbundle20ÚmatchÚrootÚ widen_bundler Ú&generate_ellipses_bundle2_for_wideningrÚAbortÚmessageÚhintr+ÚaddpartÚ bundlepartÚ getchunksÚ streamres)r$ÚprotoÚ oldincludesÚ oldexcludesÚ newincludesÚ newexcludesÚ commonheadsÚ cgversionÚknownÚellipsesÚpreferuncompressedr3ÚcommonÚbundlerÚnewmatchÚoldmatchÚexcÚmanargsÚadvargsÚchunkss rrr,s=€ðDÐð@"ò 4ñ! Ó-ˆ Ù  Ó-ˆ Ù  Ó-ˆ Ù  Ó-ˆ ð �7‰7× Ñ œx×:Ñ:Ô ;Ü × #Ñ # D¨=¸+Ð*FÔ Gô ×#Ñ#¤C¨ Ó$4Ô5Ü×#Ñ#¤C¨ Ó$4Ô5Ü×#Ñ#¤C¨ Ó$4Ô5Ü×#Ñ#¤C¨ Ó$4Ô5ä×*Ñ*¨;Ó7ˆÜ×)Ñ)¨%Ó0ˆØ �tÒ Ø‰Hä˜H“~ˆH؈ ä×"Ñ" 4§7¡7Ó+ˆÜ×#Ñ#Ø �I‰I˜{°Kô ˆô×#Ñ#Ø �I‰I˜{°Kô ˆñÜ × Ñ ØØØØØØØØõ ô × @Ñ @ØØØØØØØô ð$× Ñ Ó €FÜ × #Ñ #Ø Ð(:ô ðøô �;‰;ò"Ü×"Ñ" 4§7¡7Ó+ˆØ § ¡ Ð,Ð-ˆØˆØ �8‰8Ð Ø �N‰N˜G S§X¡XÐ.Ô /Ø�‰œ×*Ñ*¨>¸7ÀGÓLÔMØ!Õûð"ús„F8G#Ç#JÇ6BI<É<Jc ó—dD]}tj||«||<ŒdD]}dj||«||<Œdt|d«z|d<|jdi|¤Ž}t j |j|«S)N)rOrQ)rKrMrLrNrs%irR)r-)r Ú encodelistrr=Ú_callcompressablerÚ getunbundlerr')Úremoter!ÚchÚfs rrr—s�€Û&ˆÜ#×.Ñ.¨v°b©zÓ:ˆˆrŠ ð'óKˆØ—Y‘Y˜v b™zÓ*ˆˆrŠ ðKð¤ f¨ZÑ&8Ó!9Ñ9€Fˆ:ÑØ ˆ× Ñ Ñ;°FÑ;€AÜ × Ñ  § ¡ ¨1Ó -Ð-rN)Ú mercurialrrrrrrr r r Úr rr,ÚwireprotocommandrrrrrÚrfsZð÷ ÷ õ õò<ò 0ð $Ð×#Ñ#Øððô ñ`óð`óF .r