관리-도구
편집 파일: mercurial.cpython-311.pyc
� �܋f� � �� � d dl Z d dlZd dlZd dlmZmZmZ d dlmZm Z d dl mZmZ d dl mZ d dlmZ d dlmZmZmZmZ ej e� � Z G d� d e� � Z ej e� � dS ) � N)�List�Optional�Tuple)� BadCommand�InstallationError)� HiddenText�display_path)�make_command)�path_to_url)� RevOptions�VersionControl�(find_path_to_project_root_from_repo_root�vcsc � � � e Zd ZdZdZdZdZedede e fd�� � Z ded ed ede ddf d �Zded ed eddfd�Zded ed eddfd�Zededefd�� � Zededefd�� � Zededefd�� � Zededee defd�� � Zededee fd�� � Zededee f� fd�� � Z� xZS )� Mercurial�hgz.hg�clone)zhg+filezhg+httpzhg+httpszhg+sshzhg+static-http�rev�returnc � � d| � �gS )Nz--rev=� )r s �R/opt/cloudlinux/venv/lib64/python3.11/site-packages/pip/_internal/vcs/mercurial.py�get_base_rev_argszMercurial.get_base_rev_args s � ������� �dest�url�rev_options� verbosityNc �r � |� � � }t � d||t |� � � � |dk rd}n|dk rd}n|dk rd}nd}| � t d d g|�|�|�R � � � | � t dg|�|� � � �R � |�� � d S ) NzCloning hg %s%s to %sr )z--quiet� r � )� --verbose)r"