관리-도구
편집 파일: subversion.cpython-310.pyc
o ƚ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 ZdZdZdZdZedede fdd��Z ed edee fd d��Z ededefd d��Zedededeeeee ee f f f� fdd��Zededeeee ef f� fdd��Zedee dee defdd��Zededefdd��Zededeee ef fdd��Zededee de fd d!��Zd4d#e dd"f� fd$d%� Zdeed&f fd'd(�Zdeed&f fd)d*�Zdefd+d,�Zdeded-edd"fd.d/�Z deded-edd"fd0d1�Z!deded-edd"fd2d3�Z"� Z#S )5� Subversion�svnz.svn�checkout)zsvn+sshzsvn+httpz svn+httpszsvn+svnzsvn+file� remote_url�returnc C � dS )NT� )�clsr r r ��/builddir/build/BUILDROOT/alt-python310-pip-21.3.1-3.el8.x86_64/opt/alt/python310/lib/python3.10/site-packages/pip/_internal/vcs/subversion.py�should_add_vcs_url_prefix$ s z$Subversion.should_add_vcs_url_prefix�revc C s d| gS )Nz-rr )r r r r �get_base_rev_args( s zSubversion.get_base_rev_args�locationc C s� d}t �|�D ]P\}}}| j|vrg |dd�<