\x89\x50\x4E\x47\x0D\x0A\x1A\x0A PNG  \x89\x50\x4E\x47\x0D\x0A\x1A\x0A  13\c@@sddlmZddlZddlmZmZmZejrTddlmZ nddlm Z e j Z e j Z e j Z dZddZd Zd Zd ZdS( i(tabsolute_importNi(tencodingtpycompattutil(t scmwindows(tscmposixcC@srtj|}tjj|rktjj}gtj|D]*\}}|jdr=|||^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 d g}g}xJ|D]B\}}}||krUq4n|j||||d|fq4W|S( sReturn [(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(Rt defaultpath((s6/usr/lib64/python2.7/site-packages/mercurial/rcutil.pyt defaultrcpath9s cC@sdtf}dtjkrw|g}xtjdjtjD]/}|sSqAn|jdt|DqAWnBd}|tt }|j ||j|t |S(sreturn 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 VscS@s)g|D]}dtjj|f^qS(NR(RRtnormpath(tpathsR ((s6/usr/lib64/python2.7/site-packages/mercurial/rcutil.pytXs( 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__RRtRRRt iswindowsRt scmplatformRt fallbackpagerR-R.RRR R#R2R6(((s6/usr/lib64/python2.7/site-packages/mercurial/rcutil.pyts