Ë ‚–X“—B`ðãóV—ddlmZddlmZmZddlmZdZd„Z d„Z d„Z d d „Z d „Z d „Zy) é)Úhex)ÚutilÚvfs)Úurlutils logexchangec#óhK—tj|jjt««}|j |«sy||«}d}|D]<}|j «}|sŒ|dk(r|dz } |j d«\}}}|||f–—Œ>|j«y#t$rYŒ[wxYw­w)z› reads a file from .hg/logexchange/ directory and yields it's content filename: the file to be read yield a tuple (node, remotepath, name) Néró) ÚvfsmodrÚjoinÚ remotenamedirÚexistsÚstripÚsplitÚ ValueErrorÚclose) ÚrepoÚfilenamerÚfÚlinenoÚlineÚnodeÚremoteÚrnames ú9usr/lib/python3.12/site-packages/mercurial/logexchange.pyÚreadremotenamefilers°èø€ô �*‰*�T—X‘X—]‘]¤=Ó1Ó 2€CØ �:‰:�hÔ ØÙ ˆH‹ €AØ €FÛˆØ�z‰z‹|ˆÙØ à �QŠ;Ø �a‰KˆFð Ø"&§*¡*¨UÓ"3Ñ ˆD�&˜%ؘ Ð%Ó %ðð‡G�G…Iøôò Ù ð üs*‚A1B2Á4B#ÂB2Â# B/Â,B2Â.B/Â/B2c#ó`K—t|d«D]}|–—Œt|d«D]}|–—Œy­w)a read the details about the remotenames stored in .hg/logexchange/ and yields a tuple (node, remotepath, name). It does not yields information about whether an entry yielded is branch or bookmark. To get that information, call the respective functions. ó bookmarksóbranchesN)r)rÚbmentryÚ branchentrys rÚreadremotenamesr!4s5èø€ô& d¨LÖ9ˆØ‹ ð:ä)¨$° Ö<ˆ ØÓñ=ùs‚,.có—tj|jjt««}||dd¬«}|j d«t t ||««}t|«D]#\}}} ||k7sŒ |j d||| fz«Œ%t|j««D]I\} }|dk(r|D]} |j d| || fz«ŒŒ*|dk(sŒ0|sŒ3|j d||| fz«ŒK|j«y)NówT)Ú atomictemps0 s %s%s%s rr) r rr r ÚwriteÚsetrÚsortedÚitemsr) rÚ remotepathÚnamesÚnametyperrÚolddatarÚoldpathrÚnameÚns rÚwriteremotenamefiler0Bsó€Ü �*‰*�T—X‘X—]‘]¤=Ó1Ó 2€CÙ ˆH�d tÔ,€Að‡G�GˆHÔäÔ$ T¨8Ó4Ó5€Gä & w¦Ñˆˆg�uØ �jÓ Ø �G‰G�O t¨W°eÐ&<Ñ<Õ =ð!0ô˜UŸ[™[›]Ö+‰ ˆˆdØ �{Ò "Û�Ø—‘˜¨1¨j¸$Ð*?Ñ?Õ@ñà ˜Ó %ÚØ—‘˜¨4°¸TÐ*BÑBÕCð ,ð‡G�G…IóNcó°—|j«} |rt|||d«|rt|||d«|j«y#|j«wxYw)z„ save remotenames i.e. remotebookmarks and remotebranches in their respective files under ".hg/logexchange/" directory. rrN)Úwlockr0Úrelease)rr)ÚbranchesÚ bookmarksr3s rÚsaveremotenamesr7ZsI€ð �J‰J‹L€EðÙ Ü   j°)¸\Ô JÙ Ü   j°(¸KÔ Hà � ‰ �øˆ� ‰ �ús ’ AÁAcó¶—|j«}|}|r*tj|jj«}n t |t «s|j«}|jjd«D]\\}}tj|«}tjt |««}tj|«}||k(s||k(sŒY|}|S|S)zreturns remote pathspaths) ÚlocalrÚpconvertÚ_repoÚrootÚ isinstanceÚbytesÚurlÚuiÚ configitemsrÚ removeauth)rrr9ÚrpathÚpathr?Ú noauthurls rÚ activepathrFis¹€ð �L‰L‹N€Eð €EÙ Ü— ‘ ˜fŸl™l×/Ñ/Ó0‰Ü ˜¤Ô &Ø— ‘ “ ˆð—W‘W×(Ñ(¨Ö2‰ ˆˆcä×&Ñ& sÓ+ˆ ô�m‰mœE #›JÓ'ˆÜ—M‘M )Ó,ˆ Ø �%Š<˜9¨Ó-؈EØ à €Lð3ð €Lr1có(—t||«}|j«5}|jdddi«j«}ddd«i}|j «}|j«5}|jdi«j«}ddd«j «D]G\}} g||<| D]8} | |vsŒ|| j «rŒ||jt| ««Œ:ŒIt|||«y#1swYŒ½xYw#1swYŒ~xYw)zµ pulls bookmarks and branches information of the remote repo during a pull or clone operation. localrepo is our local repository remoterepo is the peer instance slistkeyss namespacerNs branchmap) rFÚcommandexecutorÚ callcommandÚresultÚ unfilteredr(ÚobsoleteÚappendrr7) Ú localrepoÚ remoterepor)Úer6ÚbmaprÚ branchmapÚbranchÚnodesrs rÚpullremotenamesrU†s€ô˜I zÓ2€Jà × #Ñ #Ô %¨Ø—M‘MØ à˜lð ó ÷ ‰&‹(ð ÷ &ð €DØ × Ñ Ó !€Dà × #Ñ #Ô %¨Ø—M‘M ,°Ó3×:Ñ:Ó<ˆ ÷ &ð#Ÿ™Ö*‰ ˆ�؈ˆV‰ ÛˆDØ�tŠ| D¨¡J×$7Ñ$7Õ$9Ø�V‘ ×#Ñ#¤C¨£IÕ.ñð+ô �I˜z¨4°Õ;÷1 &Ð %ú÷ &Ð %ús�#C<Á*!DÃ<DÄD)NN)rrÚrrr Úutilsrr rr!r0r7rFrU©r1rÚrYs9ðõ÷õð € òò8 òó0 òó:!