HEX

Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit - prohibited by configuration in /home/u547966/brikov.ru/www/wp-content/plugins/admin-menu-editor/menu-editor.php on line 745
Server: Apache
System: Linux 4.19.0-0.bpo.9-amd64 x86_64 at red40
User: u547966 (5490)
PHP: 5.3.29-mh2
Disabled: syslog, dl, popen, proc_open, proc_nice, proc_get_status, proc_close, proc_terminate, posix_mkfifo, chown, chgrp, accelerator_reset, opcache_reset, accelerator_get_status, opcache_get_status, pcntl_alarm, pcntl_fork, pcntl_waitpid, pcntl_wait, pcntl_wifexited, pcntl_wifstopped, pcntl_wifsignaled, pcntl_wifcontinued, pcntl_wexitstatus, pcntl_wtermsig, pcntl_wstopsig, pcntl_signal, pcntl_signal_dispatch, pcntl_get_last_error, pcntl_strerror, pcntl_sigprocmask, pcntl_sigwaitinfo, pcntl_sigtimedwait, pcntl_exec, pcntl_getpriority, pcntl_setpriority
Upload Files
File: //usr/lib/python2.7/dist-packages/mercurial/peer.pyc
σ
ΫXc@@sΗddlmZddlmZddlmZmZdefd„ƒYZdefd„ƒYZ	d	e	fd
„ƒYZ
de	fd„ƒYZd
e
fd„ƒYZd„Z
defd„ƒYZdS(i(tabsolute_importi(t_(terrortutiltfuturecB@seZdZd„ZRS(s'placeholder for a value to be set latercC@s1tj|dƒr$tjdƒ‚n||_dS(Ntvaluesfuture is already set(RtsafehasattrRt	RepoErrorR(tselfR((s2/usr/lib/python2.7/dist-packages/mercurial/peer.pytsets(t__name__t
__module__t__doc__R	(((s2/usr/lib/python2.7/dist-packages/mercurial/peer.pyRstbatchercB@s)eZdZd„Zd„Zd„ZRS(s'base class for batches of commands submittable in a single request

    All methods invoked on instances of this class are simply queued and
    return a a future for the result. Once you call submit(), all the queued
    calls are performed and the results set in their respective futures.
    cC@s
g|_dS(N(tcalls(R((s2/usr/lib/python2.7/dist-packages/mercurial/peer.pyt__init__!sc@s‡‡fd†}|S(Nc@s)tƒ}ˆjjˆ|||fƒ|S(N(RRtappend(targstoptstresref(tnameR(s2/usr/lib/python2.7/dist-packages/mercurial/peer.pytcall$s	((RRR((RRs2/usr/lib/python2.7/dist-packages/mercurial/peer.pyt__getattr__#scC@s
tƒ‚dS(N(tNotImplementedError(R((s2/usr/lib/python2.7/dist-packages/mercurial/peer.pytsubmit)s(R
RRRRR(((s2/usr/lib/python2.7/dist-packages/mercurial/peer.pyR
s		titerbatchercB@seZd„Zd„ZRS(cC@s
tƒ‚dS(N(R(R((s2/usr/lib/python2.7/dist-packages/mercurial/peer.pyR.scC@s
tƒ‚dS(N(R(R((s2/usr/lib/python2.7/dist-packages/mercurial/peer.pytresults1s(R
RRR(((s2/usr/lib/python2.7/dist-packages/mercurial/peer.pyR,s	t
localbatchcB@s eZdZd„Zd„ZRS(s"performs the queued calls directlycC@stj|ƒ||_dS(N(R
Rtlocal(RR((s2/usr/lib/python2.7/dist-packages/mercurial/peer.pyR6s
cC@sFx?|jD]4\}}}}|jt|j|ƒ||Žƒq
WdS(N(RR	tgetattrR(RRRRR((s2/usr/lib/python2.7/dist-packages/mercurial/peer.pyR9s(R
RRRR(((s2/usr/lib/python2.7/dist-packages/mercurial/peer.pyR4s	tlocaliterbatchercB@s#eZd„Zd„Zd„ZRS(cC@s tt|ƒjƒ||_dS(N(tsuperRRR(RR((s2/usr/lib/python2.7/dist-packages/mercurial/peer.pyR>scC@sdS(N((R((s2/usr/lib/python2.7/dist-packages/mercurial/peer.pyRBscc@s>x7|jD],\}}}}t|j|ƒ||ŽVq
WdS(N(RRR(RRRRR((s2/usr/lib/python2.7/dist-packages/mercurial/peer.pyRFs(R
RRRR(((s2/usr/lib/python2.7/dist-packages/mercurial/peer.pyR=s		c@s#‡fd†}t|dˆƒ|S(sΕannotation for batchable methods

    Such methods must implement a coroutine as follows:

    @batchable
    def sample(self, one, two=None):
        # Handle locally computable results first:
        if not one:
            yield "a local result", None
        # Build list of encoded arguments suitable for your wire protocol:
        encargs = [('one', encode(one),), ('two', encode(two),)]
        # Create future for injection of encoded result:
        encresref = future()
        # Return encoded arguments and future:
        yield encargs, encresref
        # Assuming the future to be filled with the result from the batched
        # request now. Decode it:
        yield decode(encresref.value)

    The decorator returns a function which wraps this coroutine as a plain
    method, but adds the original method as an attribute called "batchable",
    which is used by remotebatch to split the call into separate encoding and
    decoding phases.
    c@s[ˆ||Ž}t|ƒ\}}|s+|S|d}|j|jˆj|ƒƒt|ƒS(Ni(tnextR	t
_submitonet	func_name(RRt	batchabletencargsorrest	encresrefR(tf(s2/usr/lib/python2.7/dist-packages/mercurial/peer.pytplaincs
R#(tsetattr(R&R'((R&s2/usr/lib/python2.7/dist-packages/mercurial/peer.pyR#JstpeerrepositorycB@sPeZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z	RS(cC@s
t|ƒS(N(R(R((s2/usr/lib/python2.7/dist-packages/mercurial/peer.pytbatchpscC@s
t|ƒS(s₯Batch requests but allow iterating over the results.

        This is to allow interleaving responses with things like
        progress updates for clients.
        (R(R((s2/usr/lib/python2.7/dist-packages/mercurial/peer.pyt	iterbatchsscC@sX|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(RRtcapstname_eqtcap((s2/usr/lib/python2.7/dist-packages/mercurial/peer.pytcapable{s

cC@s5|j|ƒs1tjtdƒ||fƒ‚ndS(s9raise an exception if the given capability is not presents?cannot %s; remote repository does not support the %r capabilityN(R5RtCapabilityErrorR(RRtpurpose((s2/usr/lib/python2.7/dist-packages/mercurial/peer.pyt
requirecap‰s	cC@sdS(s#return peer as a localrepo, or NoneN(tNone(R((s2/usr/lib/python2.7/dist-packages/mercurial/peer.pyRscC@s|S(N((R((s2/usr/lib/python2.7/dist-packages/mercurial/peer.pytpeer”scC@stS(N(R.(R((s2/usr/lib/python2.7/dist-packages/mercurial/peer.pytcanpush—scC@sdS(N((R((s2/usr/lib/python2.7/dist-packages/mercurial/peer.pytclosešs(
R
RR*R+R5R8RR:R;R<(((s2/usr/lib/python2.7/dist-packages/mercurial/peer.pyR)ns							N(t
__future__Rti18nRtRRtobjectRR
RRRR#R)(((s2/usr/lib/python2.7/dist-packages/mercurial/peer.pyt<module>	s	
	$