관리-도구
편집 파일: bazaar.cpython-311.pyc
� �Re) � �� � 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 �J � � e Zd ZdZdZdZdZedede e fd�� � Z ded ed eddfd�Z ded 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 ��/builddir/build/BUILDROOT/alt-python311-pip-21.3.1-3.el8.x86_64/opt/alt/python311/lib/python3.11/site-packages/pip/_internal/vcs/bazaar.py�get_base_rev_argszBazaar.get_base_rev_args s � ��c�{�� �dest�url�rev_optionsNc � � |� � � }t � d||t |� � � � t dd|� � � ||� � }| � |� � d S )NzChecking out %s%s to %sr �-q)� to_display�logger�infor r �to_args�run_command)�selfr r r �rev_display�cmd_argss r � fetch_newzBazaar.fetch_new$ sz � �!�,�,�.�.�����%������� � � � ��$��0C�0C�0E�0E�s�D�Q�Q������"�"�"�"�"r c �P � | � t d|� � |�� � d S )N�switch��cwd)r# r )r$ r r r s r r) z Bazaar.switch/ s+ � �����h��4�4�$��?�?�?�?�?r c �z � t dd|� � � � � }| � ||�� � d S )N�pullr r* )r r"