
    	^c                         d dl mZ d Zd ZdS )   )encodingc                 H    | t           j                            d          k    S )z[return whether 'root' may have pending changes, which are
    visible to this process.
    s
   HG_PENDING)r   environget)roots    3/usr/lib/python3/dist-packages/mercurial/txnutil.pymayhavependingr	      s      8#''6666    c                 t    t          |           r	  |d|z  fi |dfS # t          $ r Y nw xY w ||fi |dfS )zOpen  file to be read according to HG_PENDING environment variable

    This opens '.pending' of specified 'filename' only when HG_PENDING
    is equal to 'root'.

    This returns '(fp, is_pending_opened)' tuple.
    s
   %s.pendingTF)r	   FileNotFoundError)r   vfsfilenamekwargss       r   
trypendingr      sx     d 	C0;;F;;TBB  	 	 	D	C##F##U++s    
,,N) r   r	   r    r
   r   <module>r      sA         7 7 7, , , , ,r
   