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/hgext/largefiles/remotestore.pyc
ó
ÛXc@@sdZddlmZddlmZddlmZmZmZddl	m
Z
mZmZej
Z
ejZde
j
fd„ƒYZd	S(
s4remote largefile store; the base class for wirestorei(tabsolute_import(t_(terrortutilt	wireprotoi(t	basestoretlfutilt
localstoretremotestorecB@sqeZdZd„Zd„Zd„Zd„Zd„Zd„Zd„Z	d„Z
d	„Zd
„Zd„Z
RS(s)a largefile store accessed over a networkcC@sAtt|ƒj|||ƒtj|j|j|jƒ|_dS(N(tsuperRt__init__Rtuitrepot_lstore(tselfRRturl((s@/usr/lib/python2.7/dist-packages/hgext/largefiles/remotestore.pyR
scC@sp|j||ƒr@tjtdƒ|tj|jƒfƒ‚n|jjtdƒ|tj|jƒfƒdS(Ns0remotestore: could not put %s to remote store %ss'remotestore: put %s to remote store %s
(	tsendfileRtAbortRRthidepasswordRRtdebug(Rtsourcethash((s@/usr/lib/python2.7/dist-packages/hgext/largefiles/remotestore.pytput!s			cC@s#td„|j|ƒjƒDƒƒS(Ncs@s'|]\}}||dkfVqdS(iN((t.0thts((s@/usr/lib/python2.7/dist-packages/hgext/largefiles/remotestore.pys	<genexpr>+s(tdictt_statt	iteritems(Rthashes((s@/usr/lib/python2.7/dist-packages/hgext/largefiles/remotestore.pytexists*s	cC@s‹|jjd||fƒy2tj|j|ƒ}|j||ƒSWdQXWn8tk
r†}tjtdƒ|t	|ƒfƒ‚nXdS(Nsremotestore: sendfile(%s, %s)
s'remotestore: could not open file %s: %s(
RRRthttpsendfilet_puttIOErrorRRRtstr(RtfilenameRtfdte((s@/usr/lib/python2.7/dist-packages/hgext/largefiles/remotestore.pyR.s	cC@sÍy|j|ƒ}Wn§tjk
rL}tj|||jt|ƒƒ‚nqtjk
r‰}tj	dt
j|jƒ|jfƒ‚n4t
k
r¼}tj|||jt|ƒƒ‚nXtj||ƒS(Ns%s: %s(t_getturlerrt	httperrorRt
StoreErrorRR"turlerrorRRRRtreasonR!Rtcopyandhash(RttmpfileR#RtchunksR%((s@/usr/lib/python2.7/dist-packages/hgext/largefiles/remotestore.pyt_getfile8s$	"%cC@s9|jj|ƒ}g|D]}||r|^q}|S(N(R
R(RRtexistslocallymapRtlocalhashes((s@/usr/lib/python2.7/dist-packages/hgext/largefiles/remotestore.pyt_hashesavailablelocallyJs#c
C@sUt}g|D]\}}}|^q
}|j|ƒ}|jg|D]}||krD|^qDƒ}	xé|D]á\}}}||krÀ|||f}
|jj||
gƒ}|rMt}qMql|	|}|rl|dkr|jjtdƒ||fƒt}qM|dkr:|jjtdƒ||fƒt}qMt	d|ƒ‚qlqlW|S(Nis"changeset %s: %s: contents differ
ischangeset %s: %s missing
s6verify failed: unexpected response from statlfile (%r)(
tFalseR2RR
t_verifyfilestTrueRtwarnRtRuntimeError(
RtcontentstfilestochecktfailedtcsetR#texpectedhashtexpectedhashesR1tstatstfiletochecktverifyresulttstat((s@/usr/lib/python2.7/dist-packages/hgext/largefiles/remotestore.pyR4Os8
						cC@s
tj|ƒS(sSupport for remote batching.(Rtremotebatch(R((s@/usr/lib/python2.7/dist-packages/hgext/largefiles/remotestore.pytbatchpscC@stdƒ‚dS(s1Put file with the given hash in the remote store.sabstract methodN(tNotImplementedError(RRR$((s@/usr/lib/python2.7/dist-packages/hgext/largefiles/remotestore.pyR tscC@stdƒ‚dS(s/Get a iterator for content with the given hash.sabstract methodN(RD(RR((s@/usr/lib/python2.7/dist-packages/hgext/largefiles/remotestore.pyR&xscC@stdƒ‚dS(s×Get information about availability of files specified by
        hashes in the remote store. Return dictionary mapping hashes
        to return code where 0 means that file is available, other
        values if not.sabstract methodN(RD(RR((s@/usr/lib/python2.7/dist-packages/hgext/largefiles/remotestore.pyR|s(t__name__t
__module__t__doc__R
RRRR/R2R4RCR R&R(((s@/usr/lib/python2.7/dist-packages/hgext/largefiles/remotestore.pyRs					
			!			N(RGt
__future__Rtmercurial.i18nRt	mercurialRRRtRRRR'turlreqR(((s@/usr/lib/python2.7/dist-packages/hgext/largefiles/remotestore.pyt<module>s