관리-도구
편집 파일: subversion.cpython-37.pyc
B ��Reo0 � @ s� d dl mZ d dlZd dlZd dlZd dlmZ d dlmZm Z m Z mZ d dlm Z d dlmZ d dlmZmZ e�d�Ze�d �Ze�d �Ze�d�Zer�d dlmZmZ d d lmZ d dlmZ d dlmZmZ e�e �Z!G dd� de�Z"e�#e"� dS )� )�absolute_importN)� indent_log)�display_path�is_console_interactive�rmtree�split_auth_from_netloc)�make_command)�MYPY_CHECK_RUNNING)�VersionControl�vcsz url="([^"]+)"zcommitted-rev="(\d+)"z\s*revision="(\d+)"z<url>(.*)</url>)�Optional�Tuple)�CommandArgs)� HiddenText)�AuthInfo� RevOptionsc s� e Zd ZdZdZdZdZedd� �Ze dd� �Z ed d � �Ze� fdd��Ze� fd d��Z e dd� �Zedd� �Zedd� �Zedd� �Zd(� fdd� Zdd� Zdd� Zdd� Zd d!� Zd"d#� Zd$d%� Zd&d'� Z� ZS ))� Subversion�svnz.svn�checkout)r zsvn+sshzsvn+httpz svn+httpszsvn+svnc C s dS )NT� )�cls� remote_urlr r ��/builddir/build/BUILDROOT/alt-python37-pip-20.2.4-6.el8.x86_64/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/vcs/subversion.py�should_add_vcs_url_prefix+ s z$Subversion.should_add_vcs_url_prefixc C s d| gS )Nz-rr )�revr r r �get_base_rev_args/ s zSubversion.get_base_rev_argsc C s� d}x�t �|�D ]�\}}}| j|kr2g |dd�<