Uname : Linux premium36.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Soft : LiteSpeed
Ip : 198.54.115.237
Port : 443
~
/
opt
/
hc_python
/
lib
/
python3.12
/
site-packages
/
pip
/
_internal
/
vcs
/
__pycache__
[ HOME ]
Exec
Submit
mercurial.cpython-312.pyc
� p�/i� � �� � d dl mZ d dlZd dlZd dlZd dlmZmZ d dlm Z m Z d dlmZ d dl mZ d dlmZmZmZmZ ej( e� Z G d� d e� Z ej0 e� y) � )�annotationsN)� BadCommand�InstallationError)� HiddenText�display_path)�make_command)�path_to_url)� RevOptions�VersionControl�(find_path_to_project_root_from_repo_root�vcsc � � � e Zd ZdZdZdZdZedd�� Z dd�Z d dd�Z d dd�Zedd �� Z edd �� Zedd�� Zedd�� Zedd �� Zed� fd�� Z� xZS )� Mercurial�hgz.hg�clone)zhg+filezhg+httpzhg+httpszhg+sshzhg+static-httpc � � d| � �gS )Nz--rev=� )�revs �J/opt/hc_python/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py�get_base_rev_argszMercurial.get_base_rev_args! s � ������� c �4 � |j � }t j d||t |� � |dk rd}n|dk( rd}n |dk( rd}nd}| j t d d g|�|�|��� � | j t dg|�|j � ��� |�� y ) NzCloning hg %s%s to %sr )z--quiet� r � )� --verbose)r z--debugr z --noupdate�update��cwd)� to_display�logger�infor �run_commandr �to_args)�self�dest�url�rev_options� verbosity�rev_display�flagss r � fetch_newzMercurial.fetch_new% s� � � "�,�,�.�����#������ � ��>�%1�E� �!�^��E� �!�^�"�E�,�E�����g�|�O�e�O�S�O�$�O�P������A�E�A�;�+>�+>�+@�A�� � r c �L � g }t j j || j d� }t j � }|dk r|j d� |j |� |j dd|j � t |d� 5 }|j |� d d d � t dg|�|j � ��� } | j | |�� y # 1 sw Y �9xY w# t t j f$ r!} t"