| 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. � @ s� d dl mZ d dlZd dlZd dlZd dlZddlmZ ddlm Z ddl
mZmZm
Z
mZmZmZ ddlmZmZmZ dd � Zd
d� Ze� Zdd
� Zddd�Zdadd� Zdd� Zddd�Zejdd� �Zddd�Z dS )� )�absolute_importN� )�_)�getattr)�demandimport�encoding�error�
extensions�pycompat�util)�procutil�resourceutil�
stringutilc
C s� t |�r&|}t�|jd |j �}�n�|�d�}|dkrNt�td�||f ��|d|� } t j
}
t�� r�t
j
�| �\}}|r�|r�t j
dd� |g t _
|} t�� �� ztt�| ��}W n� ttf�y~ t �� }
ztdt�| � �}W n� ttf�yx t �� }| j�r| �td�� | �|
� | j�r:| �td�� | �|� | j�sVtd �}nd}tjtd
�|| f |d��Y n0 Y n0 W d � n1 �s�0 Y |
t _
z(|�d�dd� D ]}t||�}�q�W n* t�y� t�td
�||f ��Y n0 t |��st�td�||f ��| �td�||f � t�� }� z�z |f | ||d�t�|���}W n� t�y } z�t |tj!��r�| �td�||j"d f � n| �td�|t#�$|�f � |�r�� | j�s�| �td�� | �� W Y d}~W t�� | }| �%dd|||� dS d}~0 0 W t�� | }| �%dd|||� n t�� | }| �%dd|||� 0 |�r�|�rtt�&td�| ��| �td�| � |dfS )a� call python hook. hook is callable object, looked up as
name in python module. if callable returns "true", hook
fails, else passes. if hook raises exception, treated as
hook failure. exception propagates if throw is "true".
reason for "true" meaning "hook failed" is so that
unmodified commands (e.g. mercurial.commands.update) can
be run as hooks without wrappers to convert return values.�.� .���s( %s hook is invalid: "%s" not in a moduleNzhgext_%ss, exception from first failed import attempt:
s- exception from second failed import attempt:
s$ run with --traceback for stack traces) %s hook is invalid: import of "%s" failed��hintr s'