Plan 9 from Bell Labs’s /usr/web/sources/contrib/jas/root/sys/lib/python2.7/site-packages/mercurial/peer.pyc

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


��Pc@s6ddlmZddlZdefd��YZdS(i�(t_NtpeerrepositorycBs>eZd�Zd�Zd�Zd�Zd�Zd�ZRS(cCsX|j�}||krtS|d}x+|D]#}|j|�r-|t|�Sq-WtS(s�tell whether repo supports named capability.
        return False if not supported.
        if boolean capability, return True.
        if string capability, return string.t=(t
_capabilitiestTruet
startswithtlentFalse(tselftnametcapstname_eqtcap((s2/sys/lib/python2.7/site-packages/mercurial/peer.pytcapables

cCs5|j|�s1tjtd�||f��ndS(s9raise an exception if the given capability is not presents?cannot %s; remote repository does not support the %r capabilityN(R
terrortCapabilityErrorR(RR	tpurpose((s2/sys/lib/python2.7/site-packages/mercurial/peer.pyt
requirecaps	cCsdS(s#return peer as a localrepo, or NoneN(tNone(R((s2/sys/lib/python2.7/site-packages/mercurial/peer.pytlocal#scCs|S(N((R((s2/sys/lib/python2.7/site-packages/mercurial/peer.pytpeer'scCstS(N(R(R((s2/sys/lib/python2.7/site-packages/mercurial/peer.pytcanpush*scCsdS(N((R((s2/sys/lib/python2.7/site-packages/mercurial/peer.pytclose-s(t__name__t
__module__R
RRRRR(((s2/sys/lib/python2.7/site-packages/mercurial/peer.pyRs					(ti18nRRtobjectR(((s2/sys/lib/python2.7/site-packages/mercurial/peer.pyt<module>	s

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].