| Server IP : 162.144.4.212 / Your IP : 216.73.216.108 Web Server : Apache System : Linux gator2125.hostgator.com 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64 User : cozeellc ( 2980) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib64/python3.9/site-packages/mercurial/__pycache__/ |
Upload File : |
a
�+�b � @ s4 d dl mZ d dlZddlmZ dd� Zdd� ZdS ) � )�absolute_importN� )�encodingc C s | t j�d�kS )z[return whether 'root' may have pending changes, which are
visible to this process.
s
HG_PENDING)r �environ�get)�root� r �7/usr/lib64/python3.9/site-packages/mercurial/txnutil.py�mayhavepending s r
c
K sj t | �rVz|d| fi |��dfW S tyT } z|jtjkr@� W Y d}~n
d}~0 0 ||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 Zvfs�filename�kwargs�instr r r �
trypending s r )Z
__future__r r � r r
r r r r r �<module> s