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: //lib64/python2.7/site-packages/mercurial/filelog.pyo
�
1�3\c@@s�ddlmZddlmZddlmZmZddlmZm	Z	m
Z
ddlmZm
Z
eje	j�defd��Y�Zd	efd
��YZdS(i(tabsolute_importi(t_(tnullidtnullrev(terrort
repositorytrevlog(t
interfaceutiltstorageutiltfilelogcB@s�eZd�Zd�Zd�Zd�Zdd$d�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
d�Zd
�Zd$d$d�Zd�Zd�Zd$ed�Zd$eeed�Zd$ejd$d�Zd$ed�Zd�Zd�Zdd�Zd�Zd�Zd$d$d�Zd�Z d�Z!d�Z"d�Z#eeeeed �Z$e%d!��Z&e&j'd"��Z&d#�Z(RS(%cC@s>tj|djd|df�dt�|_||j_dS(Nt/tdatas.it
censorable(RtjointTruet_revlogtfilename(tselftopenertpath((s7/usr/lib64/python2.7/site-packages/mercurial/filelog.pyt__init__s	cC@s
t|j�S(N(tlenR(R((s7/usr/lib64/python2.7/site-packages/mercurial/filelog.pyt__len__#scC@s
|jj�S(N(Rt__iter__(R((s7/usr/lib64/python2.7/site-packages/mercurial/filelog.pyR&scC@sV|ttfkrtSy|jj|�tSWn!tttt	j
fk
rQtSXdS(N(RRtFalseRtrevRt	TypeErrort
ValueErrort
IndexErrorRtLookupError(Rtnode((s7/usr/lib64/python2.7/site-packages/mercurial/filelog.pythasnode)sicC@s|jjd|d|�S(Ntstarttstop(Rtrevs(RR R!((s7/usr/lib64/python2.7/site-packages/mercurial/filelog.pyR"3scC@s|jj|�S(N(Rtparents(RR((s7/usr/lib64/python2.7/site-packages/mercurial/filelog.pyR#6scC@s|jj|�S(N(Rt
parentrevs(RR((s7/usr/lib64/python2.7/site-packages/mercurial/filelog.pyR$9scC@s|jj|�S(N(RR(RR((s7/usr/lib64/python2.7/site-packages/mercurial/filelog.pyR<scC@s|jj|�S(N(RR(RR((s7/usr/lib64/python2.7/site-packages/mercurial/filelog.pyR?scC@stj|j||jj�S(N(RtfileidlookupRt	indexfile(RR((s7/usr/lib64/python2.7/site-packages/mercurial/filelog.pytlookupBscC@s|jj|�S(N(Rtlinkrev(RR((s7/usr/lib64/python2.7/site-packages/mercurial/filelog.pyR(FscC@s|jj||�S(N(Rtcommonancestorsheads(Rtnode1tnode2((s7/usr/lib64/python2.7/site-packages/mercurial/filelog.pyR)IscC@s|jj|�S(N(Rtdescendants(RR"((s7/usr/lib64/python2.7/site-packages/mercurial/filelog.pyR,MscC@s|jj||�S(N(Rtheads(RR R!((s7/usr/lib64/python2.7/site-packages/mercurial/filelog.pyR-PscC@s|jj|�S(N(Rtchildren(RR((s7/usr/lib64/python2.7/site-packages/mercurial/filelog.pyR.TscC@s|jj|�S(N(Rt
iscensored(RR((s7/usr/lib64/python2.7/site-packages/mercurial/filelog.pyR/WscC@s|jj|d|d|�S(Nt_dftraw(Rtrevision(RRR0R1((s7/usr/lib64/python2.7/site-packages/mercurial/filelog.pyR2Zsc
C@s(|jj|d|d|d|d|�S(Nt
nodesordertrevisiondatatassumehaveparentrevisionst
deltaprevious(Rt
emitrevisions(RtnodesR3R4R5R6((s7/usr/lib64/python2.7/site-packages/mercurial/filelog.pyR7]s	c		C@s.|jj|||||d|d|d|�S(NRtflagst
cachedelta(Rtaddrevision(	RR4ttransactionR(tp1tp2RR9R:((s7/usr/lib64/python2.7/site-packages/mercurial/filelog.pyR;escC@s:|rtjtd���n|jj|||d|�S(Ns:revlog storage does not support missing parents write modet
addrevisioncb(RtAbortRRtaddgroup(Rtdeltast
linkmapperR<R?tmaybemissingparents((s7/usr/lib64/python2.7/site-packages/mercurial/filelog.pyRAlscC@s|jj|�S(N(Rt
getstrippoint(Rtminlink((s7/usr/lib64/python2.7/site-packages/mercurial/filelog.pyREuscC@s|jj||�S(N(Rtstrip(RRFR<((s7/usr/lib64/python2.7/site-packages/mercurial/filelog.pyRGxstcC@s|jj||d|�S(Nt	tombstone(Rtcensorrevision(RttrRRI((s7/usr/lib64/python2.7/site-packages/mercurial/filelog.pyRJ{scC@s
|jj�S(N(Rtfiles(R((s7/usr/lib64/python2.7/site-packages/mercurial/filelog.pyRL~scC@stj|j|��S(N(RtfiltermetadataR2(RR((s7/usr/lib64/python2.7/site-packages/mercurial/filelog.pytread�scC@sC|s|jd�r*tj||�}n|j|||||�S(Ns
(t
startswithRtpackmetaR;(RttexttmetaR<tlinkR=R>((s7/usr/lib64/python2.7/site-packages/mercurial/filelog.pytadd�scC@stj||�S(N(Rtfilerevisioncopied(RR((s7/usr/lib64/python2.7/site-packages/mercurial/filelog.pytrenamed�scC@sT|j|�}|j|�r1t|j|��S|j|�rDdS|jj|�S(s#return the size of a given revisioni(RRVRRNR/Rtsize(RRR((s7/usr/lib64/python2.7/site-packages/mercurial/filelog.pyRW�scC@stj|||�S(spcompare text with a given file revision

        returns True if text is different than what is stored.
        (Rtfiledataequivalent(RRRQ((s7/usr/lib64/python2.7/site-packages/mercurial/filelog.pytcmp�scC@s|jj|�S(N(Rtverifyintegrity(Rtstate((s7/usr/lib64/python2.7/site-packages/mercurial/filelog.pyRZ�scC@s+|jjd|d|d|d|d|�S(Ntexclusivefilestsharedfilestrevisionscountttrackedsizet
storedsize(Rtstorageinfo(RR\R]R^R_R`((s7/usr/lib64/python2.7/site-packages/mercurial/filelog.pyRa�scC@s
|jjS(N(RR&(R((s7/usr/lib64/python2.7/site-packages/mercurial/filelog.pyR&�scC@s||j_dS(N(RR&(Rtvalue((s7/usr/lib64/python2.7/site-packages/mercurial/filelog.pyR&�scK@s:t|t�s!tjd��n|jj||j|�S(Nsexpected filelog to clone()(t
isinstanceR	RtProgrammingErrorRtclone(RRKt
destrevlogtkwargs((s7/usr/lib64/python2.7/site-packages/mercurial/filelog.pyRe�sN()t__name__t
__module__RRRRtNoneR"R#R$RRR'R(R)R,R-R.R/RR2R7RtREVIDX_DEFAULT_FLAGSR;RARERGRJRLRNRTRVRWRYRZRatpropertyR&tsetterRe(((s7/usr/lib64/python2.7/site-packages/mercurial/filelog.pyR	sP				
																	
		
t
narrowfilelogcB@s2eZdZd�Zd�Zd�Zd�ZRS(s0Filelog variation to be used with narrow stores.cC@s&tt|�j||�||_dS(N(tsuperRnRt_narrowmatch(RRRtnarrowmatch((s7/usr/lib64/python2.7/site-packages/mercurial/filelog.pyR�scC@s:tt|�j|�}|r6|j|d�r6dS|S(Ni(RoRnRVRpRj(RRtres((s7/usr/lib64/python2.7/site-packages/mercurial/filelog.pyRV�scC@sT|j|�}tt|�j|�r:t|j|��Stt|�j|�SdS(N(RRoRnRVRRNRW(RRR((s7/usr/lib64/python2.7/site-packages/mercurial/filelog.pyRW�scC@sYtt|�j||�}|rUtt|�j|�rU|j|�}||kSn|S(N(RoRnRYRVRN(RRRQt	differenttt2((s7/usr/lib64/python2.7/site-packages/mercurial/filelog.pyRY�s
(RhRit__doc__RRVRWRY(((s7/usr/lib64/python2.7/site-packages/mercurial/filelog.pyRn�s
				N(t
__future__Rti18nRRRRRHRRRtutilsRRtimplementertifilestoragetobjectR	Rn(((s7/usr/lib64/python2.7/site-packages/mercurial/filelog.pyt<module>s�