관리-도구
편집 파일: bazaar.cpython-311.pyc
� �܋f� � �� � d dl Z d dlmZmZmZ d dlmZmZ d dlm Z d dl mZ d dlm Z mZmZmZmZ e j e� � Z G d� de� � Z ej e� � dS ) � N)�List�Optional�Tuple)� HiddenText�display_path)�make_command)�path_to_url)�AuthInfo�RemoteNotFoundError� RevOptions�VersionControl�vcsc �N � � e Zd ZdZdZdZdZedede e fd�� � Z ded ed ede ddf d �Zded ed eddfd�Zded ed eddfd�Zed edeeee ef f� fd�� � Zededefd�� � Zededefd�� � Zededee defd�� � Z� xZS )�Bazaar�bzrz.bzr�branch)zbzr+httpz bzr+httpszbzr+sshzbzr+sftpzbzr+ftpzbzr+lpzbzr+file�rev�returnc � � d| gS )Nz-r� )r s �O/opt/cloudlinux/venv/lib64/python3.11/site-packages/pip/_internal/vcs/bazaar.py�get_base_rev_argszBazaar.get_base_rev_args s � ��c�{�� �dest�url�rev_options� verbosityNc �0 � |� � � }t � d||t |� � � � |dk rdg}n|dk rg }n dd|z � �g}t ddg|�|� � � �|�|�R � }| � |� � d S ) NzChecking out %s%s to %sr z--quiet� �-�v�checkoutz --lightweight)� to_display�logger�infor r �to_args�run_command)�selfr r r r �rev_display�flags�cmd_argss r � fetch_newzBazaar.fetch_new$ s� � � "�,�,�.�.�����%������� � � � ��>�>��K�E�E� �!�^�^��E�E�(��Y��(�(�)�E���� �*/� �1<�1D�1D�1F�1F� �HK� �MQ� � � �� ����"�"�"�"�"r c �P � | � t d|� � |�� � d S )N�switch��cwd)r'