-=[ Mr. Bumblebee ]=-
_Indonesia_

Path : /usr/lib/python2.7/dist-packages/mercurial/
File Upload :
Current File : //usr/lib/python2.7/dist-packages/mercurial/manifest.pyc

ó
Ì\,Tc@s£ddlmZddlZddlZddlZddlZddlZddlZddlZddl	Z	de
fd„ƒYZdejfd„ƒYZdS(iÿÿÿÿ(t_NtmanifestdictcBsMeZddd„Zd„Zd„Zd„Zd„Zd„Zd„Z	RS(cCsG|dkri}n|dkr*i}ntj||ƒ||_dS(N(tNonetdictt__init__t_flags(tselftmappingtflags((s6/usr/lib/python2.7/dist-packages/mercurial/manifest.pyR
s		cCs|jj|dƒS(Nt(Rtget(Rtf((s6/usr/lib/python2.7/dist-packages/mercurial/manifest.pyRscCst|jjƒƒS(N(tsetRtkeys(R((s6/usr/lib/python2.7/dist-packages/mercurial/manifest.pyt	withflagsscCs||j|<dS(N(R(RRR((s6/usr/lib/python2.7/dist-packages/mercurial/manifest.pyRscCst|tj|jƒƒS(N(RRtcopyR(R((s6/usr/lib/python2.7/dist-packages/mercurial/manifest.pyRscCsftƒ}xV|D]N}||kr||||<|jj|dƒ}|r^||j|<q^qqW|S(s…make a new manifestdict with the intersection of self with files

        The algorithm assumes that files is much smaller than self.N(RRR
R(RtfilestrettfnR((s6/usr/lib/python2.7/dist-packages/mercurial/manifest.pytintersectfiless	
cCstj|j|jdƒS(NR	(tdicthelperstdiffR(Rtd2((s6/usr/lib/python2.7/dist-packages/mercurial/manifest.pyt	flagsdiff(sN(
t__name__t
__module__RRRRRRRR(((s6/usr/lib/python2.7/dist-packages/mercurial/manifest.pyRs					tmanifestcBs_eZd„Zd„Zd„Zd„Zd„Zdd	d„Zd„Z	d	d	d	d„Z
RS(
cCs,tjdƒ|_tjj||dƒdS(Nis00manifest.i(tutiltlrucachedictt	_mancachetrevlogR(Rtopener((s6/usr/lib/python2.7/dist-packages/mercurial/manifest.pyR,scCs#tƒ}tj||j|ƒ|S(N(Rtparserstparse_manifestR(Rtlinestmfdict((s6/usr/lib/python2.7/dist-packages/mercurial/manifest.pytparse2s	cCs:|j|ƒ}|jtj|j|j|ƒ|ƒƒƒS(N(trevR$tmdifft	patchtexttrevdifftdeltaparent(Rtnodetr((s6/usr/lib/python2.7/dist-packages/mercurial/manifest.pyt	readdelta7scCs\|j|ƒ}|j|ƒ}|tjkrO||j|ƒkrO|j|ƒS|j|ƒS(s#use the faster of readdelta or read(R%R)Rtnullrevt
parentrevsR,tread(RR*R+R)((s6/usr/lib/python2.7/dist-packages/mercurial/manifest.pytreadfast;s
$
cCs{|tjkrtƒS||jkr4|j|dS|j|ƒ}tjd|ƒ}|j|ƒ}||f|j|<|S(Nitc(RtnullidRRtrevisiontarrayR$(RR*ttextt	arraytextR((s6/usr/lib/python2.7/dist-packages/mercurial/manifest.pyR/Csic
s.‡‡fd†}|s"||fStˆƒ‰|s=ˆ}nx—||krÖ||d}|}x.|dkrˆ|ddkr|d8}qcW||dƒ}ˆ||!|krÍ||ddƒd}q@|}q@W||dƒ}ˆ||!}	||	kr ||ddƒ}||dfS||fSdS(	s@return a tuple (start, end) that says where to find s within m.

        If the string is found m[start:end] are the line containing
        that string.  If start == end the string was not found and
        they indicate the proper sorted insertion point.

        m should be a buffer or a string
        s is a stringcs1x*|ˆkr,ˆ||kr,|d7}qW|S(Ni((tiR1(tlenmtm(s6/usr/lib/python2.7/dist-packages/mercurial/manifest.pytadvanceWsiiis
ti(N(tlen(
RR9tstlothiR:tmidtstarttendtfound((R8R9s6/usr/lib/python2.7/dist-packages/mercurial/manifest.pyt_searchNs*	
	#

c	Cs³||jkr<|j|d}|j|ƒ|j|ƒfS|j|ƒ}|j||ƒ\}}||krsdS|||!}|jdƒ\}}tj|d ƒ|dd!fS(smlook up entry for a single file efficiently.
        return (node, flags) pair if found, (None, None) if not.iR;i(iÿÿÿÿN(NN(	RR
RR3RDRtsplitRtbin(	RR*RRR5RARBtltn((s6/usr/lib/python2.7/dist-packages/mercurial/manifest.pytfindvs
csód„}d„}|o*|o*||jks–tˆƒ}	||	ƒtjˆj‰‰dj‡‡‡fd†|	Dƒƒ}
tjd|
ƒ}d}n(|\}
}|j|d}||
ƒg|
D]}|tf^qÄ}|j	d„|Dƒƒ|j
ƒg}d}d}dg}d}tj|ƒ}x!|D]\}}|j
|||ƒ\}}|sd	|tjˆ|ƒˆj|ƒf}n+||kr²ttd
ƒ|ƒ‚nd}|dk	r
||kr
||kr
||krñ|}n|rM|j|ƒqMq4|dk	r8|j||dj|ƒgƒn|}|}|g}q4W|dk	r|j||dj|ƒgƒn|||ƒ\}}|j|ƒ|f}|}tj|ƒ}
|j|
|||||ƒ}ˆ|f|j|<|S(NcSs–d}tjdƒ}xM|D]E\}}}||||!7}|r[|tjd|ƒ7}n|}qW|||7}djd„|Dƒƒ}||fS(NiR1R	css:|]0\}}}tjd||t|ƒƒ|VqdS(s>lllN(tstructtpackR<(t.0RARBtcontent((s6/usr/lib/python2.7/dist-packages/mercurial/manifest.pys	<genexpr>—s(R4tjoin(taddlisttxtcurrentpositiont
newaddlistRARBRMt	deltatext((s6/usr/lib/python2.7/dist-packages/mercurial/manifest.pytaddlistdeltaˆs

cSsIxB|D]:}d|ks%d|krtjtdƒ|ƒ‚qqWdS(Ns
s
s)'\n' and '\r' disallowed in filenames: %r(terrortRevlogErrorR(RGR((s6/usr/lib/python2.7/dist-packages/mercurial/manifest.pytcheckforbidden›s
R	c3s2|](}d|ˆˆ|ƒˆ|ƒfVqdS(s%s%s%s
N((RLR(Rthextmap(s6/usr/lib/python2.7/dist-packages/mercurial/manifest.pys	<genexpr>ªsR1icss|]}|tfVqdS(N(tTrue(RLRP((s6/usr/lib/python2.7/dist-packages/mercurial/manifest.pys	<genexpr>µsis%s%s%s
s!failed to remove %s from manifest(RtsortedRRXRRNR4RtFalsetextendtsortRtbufferRDtAssertionErrorRtappendR%taddrevision(RRYttransactiontlinktp1tp2tchangedRTRWRR5R6t
cachedeltataddedtremovedRORPtworktdeltatdstarttdendtdlineRAtaddbufRttodeleteRBRGRSRH((RRXRYs6/usr/lib/python2.7/dist-packages/mercurial/manifest.pytadd„sb		

	

	,$	"
"N(RRRR$R,R0R/RRDRIRr(((s6/usr/lib/python2.7/dist-packages/mercurial/manifest.pyR+s					(	(
ti18nRR&R RURRRR4RJRRR(((s6/usr/lib/python2.7/dist-packages/mercurial/manifest.pyt<module>sH

Copyright © 2017 || Recoded By Mr.Bumblebee