관리-도구
편집 파일: mercurial.cpython-312.pyc
� G��e~ � �� � 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 ej4 e� y) � 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 �F � � 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-r=� )r s ��/builddir/build/BUILDROOT/alt-python312-pip-23.3.1-1.el8.x86_64/opt/alt/python312/lib/python3.12/site-packages/pip/_internal/vcs/mercurial.py�get_base_rev_argszMercurial.get_base_rev_args s � ��c�U��}�� �dest�url�rev_options� verbosityNc �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"