Hacked By AnonymousFox

Current Path : /opt/alt/python27/lib/python2.7/site-packages/pip/_internal/vcs/
Upload File :
Current File : //opt/alt/python27/lib/python2.7/site-packages/pip/_internal/vcs/bazaar.pyc

�
�Rec@@sddlmZddlZddlZddlmZddlmZm	Z	ddl
mZddlm
Z
ddlmZddlmZmZe
r�dd	lmZmZdd
lmZddlmZmZneje�Zdefd
��YZeje�dS(i(tabsolute_importN(tparse(tdisplay_pathtrmtree(tmake_command(tMYPY_CHECK_RUNNING(tpath_to_url(tVersionControltvcs(tOptionaltTuple(t
HiddenText(tAuthInfot
RevOptionstBazaarcB@s�eZdZdZdZdZd	�Zed
��Zd�Z	d�Z
d
�Zd�Ze
d��Ze
d��Ze
d��Ze
d��ZRS(tbzrs.bzrtbranchsbzr+https	bzr+httpssbzr+sshsbzr+sftpsbzr+ftpsbzr+lpcO@sEtt|�j||�ttdd�rAtjjdg�ndS(Nt
uses_fragmenttlp(tsuperRt__init__tgetattrturllib_parsetNoneRtextend(tselftargstkwargs((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/vcs/bazaar.pyR#scC@s
d|gS(Ns-r((trev((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/vcs/bazaar.pytget_base_rev_args*scC@sZtjj|�rt|�n|j|�\}}|jtd|||j���dS(sU
        Export the Bazaar repository at the url to the destination location
        texportN(tostpathtexistsRtget_url_rev_optionstrun_commandRtto_args(Rtlocationturltrev_options((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/vcs/bazaar.pyR.s

cC@sW|j�}tjd||t|��tdd|j�||�}|j|�dS(NsChecking out %s%s to %sRs-q(t
to_displaytloggertinfoRRR$R#(RtdestR&R'trev_displaytcmd_args((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/vcs/bazaar.pyt	fetch_new<s
cC@s |jtd|�d|�dS(Ntswitchtcwd(R#R(RR+R&R'((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/vcs/bazaar.pyR/JscC@s/tdd|j��}|j|d|�dS(Ntpulls-qR0(RR$R#(RR+R&R'R-((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/vcs/bazaar.pytupdateNscC@sJtt|�j|�\}}}|jd�r=d|}n|||fS(Nsssh://sbzr+(RRtget_url_rev_and_autht
startswith(tclsR&Rt	user_pass((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/vcs/bazaar.pyR3Ss!
cC@s�|jdgd|�}xp|j�D]b}|j�}xMdD]E}|j|�r>|j|�d}|j|�rt|�S|Sq>Wq%WdS(NR*R0scheckout of branch: sparent branch: i(scheckout of branch: sparent branch: (R#t
splitlineststripR4tsplitt_is_local_repositoryRR(R5R%turlstlinetxtrepo((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/vcs/bazaar.pytget_remote_url\s

cC@s&|jdgd|�}|j�dS(NtrevnoR0i����(R#R7(R5R%trevision((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/vcs/bazaar.pytget_revisionjscC@stS(s&Always assume the versions don't match(tFalse(R5R+tname((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/vcs/bazaar.pytis_commit_id_equalqs(Rsbzr+https	bzr+httpssbzr+sshsbzr+sftpsbzr+ftpsbzr+lp(t__name__t
__module__RDtdirnamet	repo_nametschemesRtstaticmethodRRR.R/R2tclassmethodR3R?RBRE(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/vcs/bazaar.pyRs						(t
__future__RtloggingRtpip._vendor.six.moves.urllibRRtpip._internal.utils.miscRRtpip._internal.utils.subprocessRtpip._internal.utils.typingRtpip._internal.utils.urlsRt pip._internal.vcs.versioncontrolRRttypingR	R
RRR
t	getLoggerRFR)Rtregister(((s�/builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_internal/vcs/bazaar.pyt<module>s]

Hacked By AnonymousFox1.0, Coded By AnonymousFox