관리-도구
편집 파일: subversion.cpython-36.pyc
3 �Reo0 � @ s� d dl mZ d dlZd dlZd dlZd dlmZ d dlmZm Z m Z mZ d dlm Z d dlmZ d dlmZmZ ejd�Zejd �Zejd �Zejd�Zer�d dlmZmZ d d lmZ d dlmZ d dlmZmZ eje �Z!G dd� de�Z"ej#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 ZdZdZdZd+Zedd � �Ze d d� �Z edd � �Ze� fdd��Ze� fdd��Z e dd� �Zedd� �Zedd� �Zedd� �Zd,� fdd� Zdd� Zdd � Zd!d"� Zd#d$� Zd%d&� Zd'd(� Zd)d*� Z� ZS )-� Subversion�svnz.svn�checkout�svn+ssh�svn+http� svn+https�svn+svnc C s dS )NT� )�cls� remote_urlr r ��/builddir/build/BUILDROOT/alt-python36-pip-20.2.4-5.el8.x86_64/opt/alt/python36/lib/python3.6/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 j|�D ]�\}}}| j|kr2g |dd�<