HEX
Server: Apache
System: Linux p102.lithium.hosting 4.18.0-553.141.1.el8_10.x86_64 #1 SMP Fri Jul 10 17:48:02 UTC 2026 x86_64
User: bvzmoamr (9955)
PHP: 8.1.34
Disabled: syslog
Upload Files
File: //usr/lib64/python2.7/site-packages/hgext/largefiles/localstore.pyo
�
1�3\c@@sidZddlmZddlmZddlmZddlmZm	Z	dejfd��YZ
d	S(
s store class for local filesystemi(tabsolute_import(t_(tutili(t	basestoretlfutilt
localstorecB@s;eZdZd�Zd�Zd�Zd�Zd�ZRS(s�localstore first attempts to grab files out of the store in the remote
    Mercurial repository.  Failing that, it attempts to grab the files from
    the user cache.cC@s8|j�|_tt|�j|||jj��dS(N(tlocaltremotetsuperRt__init__turl(tselftuitrepoR((sA/usr/lib64/python2.7/site-packages/hgext/largefiles/localstore.pyR	scC@s<tj|j|�rdStj|tj|j|��dS(N(RtinstoreRtlinkt	storepath(Rtsourcethash((sA/usr/lib64/python2.7/site-packages/hgext/largefiles/localstore.pytputscC@s4i}x'|D]}tj|j|�||<q
W|S(N(RRR(RthashestretvalR((sA/usr/lib64/python2.7/site-packages/hgext/largefiles/localstore.pytexists"s
cC@sttj|j|�}|s?tj|||jtd���nt|d�� }tjt	j
|�|�SWdQXdS(Nscan't get file locallytrb(RtfindfileRRt
StoreErrorR
RtopentcopyandhashRt
filechunkiter(RttmpfiletfilenameRtpathtfd((sA/usr/lib64/python2.7/site-packages/hgext/largefiles/localstore.pyt_getfile(sc
C@s�t}x�|D]�\}}}tj|j|�\}}|s[tj|j|�\}}n|s�|jjtd�|||f�t}q
|r
tj	|�}	|	|kr�|jjtd�|||f�t}q�q
q
W|S(Ns'changeset %s: %s references missing %s
s)changeset %s: %s references corrupted %s
(
tFalseRt
findstorepathR
RRtwarnRtTruethashfile(
RtcontentstfilestochecktfailedtcsetRtexpectedhashRRt
actualhash((sA/usr/lib64/python2.7/site-packages/hgext/largefiles/localstore.pyt_verifyfiles1s&					(t__name__t
__module__t__doc__R	RRR!R-(((sA/usr/lib64/python2.7/site-packages/hgext/largefiles/localstore.pyRs					N(R0t
__future__Rtmercurial.i18nRt	mercurialRtRRR(((sA/usr/lib64/python2.7/site-packages/hgext/largefiles/localstore.pyt<module>	s