관리-도구
편집 파일: subversion.cpython-39.pyc
a ��ReL- � @ s� d dl Z d dlZd dlZd dlmZmZmZ d dlmZm Z m Z mZmZ d dl mZmZ d dlmZmZmZmZmZ e �e�Ze�d�Ze�d�Ze�d�Ze�d �ZG d d� de�Ze�e� dS )� N)�List�Optional�Tuple)� HiddenText�display_path�is_console_interactive�is_installable_dir�split_auth_from_netloc)�CommandArgs�make_command)�AuthInfo�RemoteNotFoundError� RevOptions�VersionControl�vcsz url="([^"]+)"zcommitted-rev="(\d+)"z\s*revision="(\d+)"z<url>(.*)</url>c s� e Zd ZdZdZdZdZeee d�dd��Z eeee d�d d ��Z eeed�dd ��Zeeeeeeee ee f f d�� fdd��Zeeeeee ef d�� fdd��Zeee ee ed�dd��Zeeed�dd��Zeeeee ef d�dd��Zeeee e d�dd��Zd1e dd�� fd d!� Zeed"f d#�d$d%�Zeed"f d#�d&d'�Zed#�d(d)�Zeeedd*�d+d,�Z eeedd*�d-d.�Z!eeedd*�d/d0�Z"� Z#S )2� Subversion�svnz.svn�checkout)zsvn+sshzsvn+httpz svn+httpszsvn+svnzsvn+file)� remote_url�returnc C s dS )NT� )�clsr r r ��/builddir/build/BUILDROOT/alt-python39-pip-21.3.1-2.el8.x86_64/opt/alt/python39/lib/python3.9/site-packages/pip/_internal/vcs/subversion.py�should_add_vcs_url_prefix$ s z$Subversion.should_add_vcs_url_prefix)�revr c C s d| gS )Nz-rr )r r r r �get_base_rev_args( s zSubversion.get_base_rev_args)�locationr c C s� d}t �|�D ]�\}}}| j|vr0g |dd�<