HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/mercurial/__pycache__/txnutil.cpython-310.pyc
o

�]Lb�@s4ddlmZddlZddlmZdd�Zdd�ZdS)	�)�absolute_importN�)�encodingcCs|tj�d�kS)z[return whether 'root' may have pending changes, which are
    visible to this process.
    s
HG_PENDING)r�environ�get)�root�r�3/usr/lib/python3/dist-packages/mercurial/txnutil.py�mayhavependingsr
c
Ksjt|�r+z
|d|fi|��dfWSty*}z
|jtjkr �WYd}~nd}~ww||fi|��dfS)z�Open  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.pendingTNF)r
�IOError�errno�ENOENT)r�vfs�filename�kwargs�instrrr	�
trypendings���r)�
__future__rr�rr
rrrrr	�<module>s