HEX
Server: Apache
System: Linux p102.lithium.hosting 4.18.0-553.141.1.el8_10.x86_64 #1 SMP Fri Jul 10 17:48:02 UTC 2026 x86_64
User: bvzmoamr (9955)
PHP: 8.1.34
Disabled: syslog
Upload Files
File: //proc/self/root/lib64/python2.7/site-packages/mercurial/rcutil.pyc
�
1�3\c@@s�ddlmZddlZddlmZmZmZejrTddlmZ	nddlm
Z	e	jZe	jZe	j
Z
d�Zdd�Zd	�Zd
�Zd�ZdS(i(tabsolute_importNi(tencodingtpycompattutil(t
scmwindows(tscmposixcC@srtj|�}tjj|�rktjj}gtj|�D]*\}}|jd�r=|||�^q=S|gS(s@path could be a file or a directory. return a list of file pathss.rc(Rt
expandpathtostpathtisdirtjointlistdirtendswith(RtpR
tftk((s6/usr/lib64/python2.7/site-packages/mercurial/rcutil.pyt
_expandrcpaths
>cC@s~|dkrtj}nd	d
dg}g}xJ|D]B\}}}||krUq4n|j||||d|f�q4W|S(s�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.
    tEDITORtuiteditortVISUALtPAGERtpagers$%sN(RRR(RRR(RRR(tNoneRtenvirontappend(tenvt	checklisttresulttenvnametsectiont
configname((s6/usr/lib64/python2.7/site-packages/mercurial/rcutil.pyt
envrcitems#s	%cC@sCg}tjjtjd�}tjj|�r?t|�}n|S(sreturn rc paths in default.ds	default.d(RRR
RtdatapathR	R(Rtdefaultpath((s6/usr/lib64/python2.7/site-packages/mercurial/rcutil.pyt
defaultrcpath9s
cC@s�dt�f}dtjkrw|g}x�tjdjtj�D]/}|sSqAn|jd�t|�D��qAWnBd�}|t�t	��}|j
|�|j|t���|S(s�return 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' or 'items', 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.
    titemstHGRCPATHcs@s|]}d|fVqdS(RN((t.0R
((s6/usr/lib64/python2.7/site-packages/mercurial/rcutil.pys	<genexpr>VscS@s)g|D]}dtjj|�f^qS(NR(RRtnormpath(tpathsR
((s6/usr/lib64/python2.7/site-packages/mercurial/rcutil.pyt<lambda>Xt(R RRtsplitRt	ospathseptextendRR#tsystemrcpathRt
userrcpath(tenvrct
_rccomponentsR
t	normpaths((s6/usr/lib64/python2.7/site-packages/mercurial/rcutil.pytrccomponentsAs	 $	
cC@sidd6dd6S(sureturn a dict of default environment variables and their values,
    intended to be set before starting a pager.
    tFRXtLESSs-ctLV((((s6/usr/lib64/python2.7/site-packages/mercurial/rcutil.pytdefaultpagerenv^s(t
__future__RRR*RRRt	iswindowsRtscmplatformRt
fallbackpagerR.R/RRR R#R3R7(((s6/usr/lib64/python2.7/site-packages/mercurial/rcutil.pyt<module>s