korsygfhrtzangaiide
Elepffwdsff
/
lib64
/
python2.7
/
site-packages
/
mercurial
/
Upload FileeE
HOME
� Hq�Qc @ sF d d l Z d d l Z d d l Z d d l Z d � Z d � Z d S( i����Nc C s� g } t j � } t j j t j j | � d � } t j j | � rV | j | � | St j j t j j | � d � } t j j | � r� xK t j | � D]: \ } } | j d � r� | j t j j | | � � q� q� W| St j d d t j � } t | t � s | r| St j | � } x� | j t j � D]� } | j � j d � r[| j | � q0t j j | � r0xN t j | � D]: \ } } | j d � r}| j t j j | | � � q}q}Wq0q0W| S( s+ return default os-specific hgrc search paths mercurial.inis hgrc.ds .rcs SOFTWARE\MercurialN( t utilt executablepatht ost patht joint dirnamet isfilet appendt isdirt osutilt listdirt endswitht lookupregt Nonet _winregt HKEY_LOCAL_MACHINEt isinstancet strt localpatht splitt pathsept lower( t rcpatht filenamet progrct progrcdt ft kindt valuet p( ( s: /usr/lib64/python2.7/site-packages/mercurial/scmwindows.pyt systemrcpath s2 ! !#*c C s� t j j d � } t j j | d � t j j | d � g } t j j d � } | r� | j t j j | d � � | j t j j | d � � n | S( s3 return os-specific hgrc search path to the user dirt ~s mercurial.inis .hgrct USERPROFILE( R R t expanduserR t environt getR ( t homeR t userprofile( ( s: /usr/lib64/python2.7/site-packages/mercurial/scmwindows.pyt userrcpath% s ( R R R R R R&