Ë L<¯{–Ú|ãóÌ—ddlZddlmZmZmZddlmZejrddlmZ nddlm Z e jZ e jZ e jZ d„Zd d„Zd „Zd „Zd „Zd „Zy)éNé)ÚencodingÚpycompatÚutil)Ú resourceutil)Ú scmwindows)Úscmposixc󸇇—tj|«Štjj ‰«rBtjj Št ˆˆfd„tj‰«D««S‰gS)z@path could be a file or a directory. return a list of file pathsc3óZ•K—|]"\}}|jd«sŒ‰‰|«–—Œ$y­w)ó.rcN)Úendswith)Ú.0ÚfÚkÚjoinÚps €€ú4usr/lib/python3.12/site-packages/mercurial/rcutil.pyÚ z _expandrcpath.."s*øèø€ð Ù#2™4˜1˜a°a·j±jÀÕ6H‰D��A�J¡?ùsƒ+�+)rÚ expandpathÚosÚpathÚisdirrÚsortedÚlistdir)rrrs @@rÚ _expandrcpathrsYù€ä �‰˜Ó€AÜ ‡w�w‡}�}�QÔÜ�w‰w�|‰|ˆÜô Ü#'§<¡<°¤?ó ó ð ð ˆ3€JócóŒ—|€tj}gd¢}g}|D]&\}}}||vrŒ |j||||d|zf«Œ(|S)zöReturn [(section, name, value, source)] config items. The config items are extracted from environment variables specified by env, used to override systemrc, but not userrc. If env is not provided, encoding.environ will be used. ))sEDITORóuióeditor)sVISUALrr)sPAGERópagerr s$%s)rÚenvironÚappend)ÚenvÚ checklistÚresultÚenvnameÚsectionÚ confignames rÚ envrcitemsr)(sc€ð €{Ü×шò€Ið €FÛ(1Ñ$ˆ�˜*Ø ˜#Ñ Ø Ø� ‰ �w  ¨C°©L¸&À7Ñ:JÐKÕLð)2ð €Mrcóº—tjd«}t|«D�cgc]-}tjd|«r|j d«rd|f‘Œ/c}Scc}w)z#return rc resource IDs in defaultrcsmercurial.defaultrcr )rÚcontentsrÚ is_resourcer )ÚrsrcsÚrs rÚdefault_rc_resourcesr/?s`€ä × !Ñ !Ð"8Ó 9€Eô˜”ó áˆAÜ × #Ñ #Ð$:¸AÔ >Ø �J‰J�vÔ ð  Ò#Øñ ðùò s£2AcóÞ—dt«f}dtjvr^|g}tjdjtj «D]&}|sŒ|j d„t|«D««Œ(|St«D�cgc]}d|f‘Œ}}d„}|j |t«««|j|«|j |t«««|Scc}w)aRreturn an ordered [(type, obj)] about where to load configs. respect $HGRCPATH. if $HGRCPATH is empty, only .hg/hgrc of current repo is used. if $HGRCPATH is not set, the platform default will be used. if a directory is provided, *.rc files under it will be used. type could be either 'path', 'items' or 'resource'. If type is 'path', obj is a string, and is the config file path. if type is 'items', obj is a list of (section, name, value, source) that should fill the config directly. If type is 'resource', obj is a tuple of (package name, resource name). sitemssHGRCPATHc3ó$K—|]}d|f–—Œ y­w)ópathN©)rrs rrzrccomponents..`sèø€Ð HÑ7G°! '¨1¤Ñ7Gùs‚sresourcecój—|D�cgc]#}dtjj|«f‘Œ%c}Scc}w)Nr2)rrÚnormpath)Úpathsrs rÚzrccomponents..ds2€Ù49ó# Ù49¨qˆW”b—g‘g×&Ñ& qÓ)Ò *°Eò# ùò# s…(0) r)rr!ÚsplitrÚ ospathsepÚextendrr/Ú systemrcpathr"Ú userrcpath)ÚenvrcÚ _rccomponentsrr.Ú normpathss rÚ rccomponentsr@Jsã€ð”z“|Ð $€Eà”h×&Ñ&Ñ&𘈠Ü×!Ñ! +Ñ.×4Ñ4´X×5GÑ5GÖHˆAÙØØ × Ñ Ñ H´}ÀQÔ7GÓ HÕ HðIð Ðô4HÔ3IÓJÑ3I¨a˜+ qÒ)Ð3Iˆ ÐJñ ˆ ð ×Ñ™Y¤|£~Ó6Ô7Ø×јUÔ#Ø×Ñ™Y¤z£|Ó4Ô5Ø ÐùòKs C*có —dddœS)zureturn a dict of default environment variables and their values, intended to be set before starting a pager. sFRXs-c)sLESSsLVr3r3rrÚdefaultpagerenvrBms€ð EÑ *Ð*rcó&—dtjvS)z5True if repositories `.hg/hgrc` config should be reads HGRCSKIPREPO)rr!r3rrÚ use_repo_hgrcrDts€à ¤(×"2Ñ"2Ð 2Ð2r)N)rÚrrrÚutilsrÚ iswindowsrÚ scmplatformr Ú fallbackpagerr;r<rr)r/r@rBrDr3rrÚrJshðó ÷ñõ  à ×ÒÞ+å)à×)Ñ)€ Ø×'Ñ'€ Ø × #Ñ #€ òóò.ò òF+ó3r