/opt/alt/python34/lib/python3.4/site-packages/pip/vcs
NameSizeModeActions
__pycache__/-0755rm
bazaar.py49430644editdlrm
bazaar.pyc60380644editdlrm
bazaar.pyo60380644editdlrm
git.py78980644editdlrm
git.pyc83760644editdlrm
git.pyo83220644editdlrm
mercurial.py58200644editdlrm
mercurial.pyc67960644editdlrm
mercurial.pyo67960644editdlrm
subversion.py106400644editdlrm
subversion.pyc103970644editdlrm
subversion.pyo102770644editdlrm
__init__.py87480644editdlrm
__init__.pyc111240644editdlrm
__init__.pyo109700644editdlrm
Edit: /opt/alt/python34/lib/python3.4/site-packages/pip/vcs/__init__.pyo (10970B)
Ñò *‘Rec@sºdZddkZddkZddklZlZddklZddkl Z l Z l Z l Z l Z ddgZdefd „ƒYZeƒZd efd „ƒYZd „ZdS( s)Handles all VCS (version control) supportiÿÿÿÿN(turlparseturllib(tlogger(t display_patht backup_dirt find_commandtrmtreetask_path_existstvcstget_src_requirementt VcsSupportcBs˜eZhZddddddgZd„Zd„Zed„ƒZed „ƒZed „ƒZ d „Z ddd „Z d „Z d„Zd„ZRS(tsshtgitthgtbzrtsftptsvncCsTtii|iƒttddƒotii|iƒntt|ƒi ƒdS(Nt uses_fragment( Rt uses_netloctextendtschemestgetattrtNoneRtsuperR t__init__(tself((sA/opt/alt/python34/lib/python3.4/site-packages/pip/vcs/__init__.pyRscCs |iiƒS(N(t _registryt__iter__(R((sA/opt/alt/python34/lib/python3.4/site-packages/pip/vcs/__init__.pyRscCst|iiƒƒS(N(tlistRtvalues(R((sA/opt/alt/python34/lib/python3.4/site-packages/pip/vcs/__init__.pytbackendsscCs%g}|iD]}||iq~S(N(Rtdirname(Rt_[1]tbackend((sA/opt/alt/python34/lib/python3.4/site-packages/pip/vcs/__init__.pytdirnames"scCs.g}x!|iD]}|i|iƒqW|S(N(RRR(RRR!((sA/opt/alt/python34/lib/python3.4/site-packages/pip/vcs/__init__.pyt all_schemes&s  cCsTt|dƒptid|iƒdS|i|ijo||i|i+://, e.g. svn+http://myrepo/svn/MyApp#egg=MyAppt+it@R8N(R9tsplitRturlsplitRtrsplitt urlunsplit( Rt error_messageR9tschemetnetlocR,tquerytfragtrev((sA/opt/alt/python34/lib/python3.4/site-packages/pip/vcs/__init__.pyt get_url_revss cCs|i|ƒ|i|ƒfS(sA Returns (url, revision), where both are strings (tget_urlt get_revision(RR/((sA/opt/alt/python34/lib/python3.4/site-packages/pip/vcs/__init__.pytget_info…scCsti|ƒidƒS(sa Normalize a URL for comparison by unquoting it and removing any trailing slash. t/(Rtunquotetrstrip(RR9((sA/opt/alt/python34/lib/python3.4/site-packages/pip/vcs/__init__.pyt normalize_urlŒscCs|i|ƒ|i|ƒjS(sV Compare two repo URLs for identity, ignoring incidental differences. (R](Rturl1turl2((sA/opt/alt/python34/lib/python3.4/site-packages/pip/vcs/__init__.pyt compare_urls’scCs t‚dS(sÌ Takes the contents of the bundled text file that explains how to revert the stripped off version control data of the given package and returns the URL and revision of it. N(tNotImplementedError(Rtcontent((sA/opt/alt/python34/lib/python3.4/site-packages/pip/vcs/__init__.pytparse_vcs_bundle_file˜scCs t‚dS(sx Called when installing or updating an editable package, takes the source path of the checkout. N(Ra(Rtdest((sA/opt/alt/python34/lib/python3.4/site-packages/pip/vcs/__init__.pytobtain scCs t‚dS(sB Switch the repo at ``dest`` to point to ``URL``. N(tNotImplemented(RRdR9t rev_options((sA/opt/alt/python34/lib/python3.4/site-packages/pip/vcs/__init__.pytswitch§scCs t‚dS(sO Update an already-existing repo to the given ``rev_options``. N(Ra(RRdRg((sA/opt/alt/python34/lib/python3.4/site-packages/pip/vcs/__init__.pytupdate­sc Cs\t}t}tii|ƒot}tiitii||iƒƒo»|i|ƒ}|i||ƒo`t i d|i i ƒt |ƒ|fƒt idt |ƒ|i |fƒ|i||ƒq1t id|i|i t |ƒ|fƒddf}q5t id ||i|i fƒd df}n|ot id |i|fƒtd |d |dƒ}|djo=t id|i t |ƒ||fƒ|i|||ƒqX|djoqX|djo+t idt |ƒƒt|ƒt}qX|djoCt|ƒ} t idt |ƒ| fƒti|| ƒt}qXn|S(s­ Prepare a location to receive a checkout/clone. Return True if the location is ready for (and requires) a checkout/clone, False otherwise. s)%s in %s exists, and has correct URL (%s)sUpdating %s %s%ss%s %s in %s exists with URL %ss%(s)witch, (i)gnore, (w)ipe, (b)ackup tstitwtbs0Directory %s already exists, and is not a %s %s.s(i)gnore, (w)ipe, (b)ackup s+The plan is to install the %s repository %ssWhat to do? %siisSwitching %s %s to %s%ss Deleting %ssBacking up %s to %s(RjRkRlRm(RkRlRm(tTruetFalseR+R,R.R-RRWR`RRGt repo_namettitleRtnotifyRiR&R$RRhRRtshutiltmove( RRdR9Rgt rev_displaytcheckouttpromptt existing_urltresponsetdest_dir((sA/opt/alt/python34/lib/python3.4/site-packages/pip/vcs/__init__.pytcheck_destination³sZ%                    cCs2tii|ƒot|ƒn|i|ƒdS(N(R+R,R.RRe(RR/((sA/opt/alt/python34/lib/python3.4/site-packages/pip/vcs/__init__.pytunpackíscCs t‚dS(N(Ra(RtdistR/t find_tags((sA/opt/alt/python34/lib/python3.4/site-packages/pip/vcs/__init__.pyR òsN(R'R5R$RRRR?RFR6RIRVRYR]R`RcReRhRiR{R|RoR (((sA/opt/alt/python34/lib/python3.4/site-packages/pip/vcs/__init__.pyR7Vs"            : cCsHti|ƒ}|o|ƒi|||ƒStid|ƒ|iƒS(Nstcannot determine version of editable source in %s (is not SVN checkout, Git clone, Mercurial clone or Bazaar branch)(RR4R RR&tas_requirement(R}R/R~tversion_control((sA/opt/alt/python34/lib/python3.4/site-packages/pip/vcs/__init__.pyR ös (t__doc__R+Rstpip.backwardcompatRRtpip.logRtpip.utilRRRRRt__all__tobjectR RR7R (((sA/opt/alt/python34/lib/python3.4/site-packages/pip/vcs/__init__.pyts  ( D