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/repair.pyc
ó
ÛXc@@sÂddlmZddlZddlZddlmZddlmZddlm	Z	m
Z
mZmZm
Z
mZed„Zd„Zd	„Zed
d„Zd„Zd
„Zd„ZdS(i(tabsolute_importNi(t_(tshort(tbundle2tchangegroupterrortexchangetobsoletetutilcC@s%tj|ƒ}tj|||dd|ƒ}d}|j}	|	j|ƒs[|	j|ƒn|jd||ƒ}
td„|
Dƒƒ}tj	dj
|ƒƒjƒ}d|t|ƒ|d |f}
d}|d	krîd
}|rd}qn|rýd}nd
}tj|j||
||	d|ƒS(s8create a bundle with the specified revisions as a backuptstriptversionsstrip-backups%ln::%lncs@s|]}|jƒVqdS(N(thex(t.0tc((s4/usr/lib/python2.7/dist-packages/mercurial/repair.pys	<genexpr>&sts%s/%s-%s-%s.hgit01tHG20tBZtHG10BZtHG10UNtcompressionN(Rtsafeversiontchangegroupsubsettvfstisdirtmkdirtsettsortedthashlibtsha1tjoint	hexdigestRtNoneRtwritebundletui(trepotbasestheadstnodetsuffixtcompresst	cgversiontcgt	backupdirRt
allcommitst	allhashest	totalhashtnametcompt
bundletype((s4/usr/lib/python2.7/dist-packages/mercurial/repair.pyt_bundles*		 	cC@sJtƒ}x4t|t|ƒƒD]}|j||jƒƒqWt|ƒS(s+find out the filelogs affected by the strip(RtxrangetlentupdatetfilesR(R#tstriprevR6tx((s4/usr/lib/python2.7/dist-packages/mercurial/repair.pyt
_collectfiles6s	c@sPtƒ‰‡‡fd†}||jƒx!|D]}||j|ƒƒq/WˆS(s<return the changesets which will be broken by the truncationc@sB|jˆƒ\}}ˆjg|D]}|j|ƒ^q"ƒdS(N(t
getstrippointR5tlinkrev(trevlogRt	brokensettr(tsR7(s4/usr/lib/python2.7/dist-packages/mercurial/repair.pyt
collectoneBs(Rtmanifesttfile(R#R6R7R@tfname((R?R7s4/usr/lib/python2.7/dist-packages/mercurial/repair.pyt_collectbrokencsets?s	

tbackupc/C@sÔ|d krt}n|jƒ}|jƒ|j}t|tƒrO|g}ng|D]}|j|ƒ^qV}t|ƒ}t|ƒ}	x8|D]0}
x'|j	|
gƒD]}|	j
|ƒq©WqWt||ƒ}t|||ƒ}
t|
ƒ}x`t
|dt|ƒƒD]E}||	kr|
j
|ƒ|j|j|ƒƒ|j
|ƒqqWg|D]}|j|ƒ^q[}|
r¡t|j	|
ƒƒ}|
j|ƒng|
D]}|j|ƒ^q¨}g|	D]}|j|ƒ^qÊ}|jd|	|	ƒ}|r||jƒjƒ}nd}|j}g}x>|D]6}|||jƒ}
|
|	kr5|j|ƒq5q5Wd}|j}|d}|rñt|||jƒ||ƒ}|jjtdƒ|j|ƒƒ|jjdd|j|ƒƒnd}|rt||||d	d
tƒ}n|j}|j ƒ}|dk	rl~tdƒ}t!j"|dtd
ƒƒ‚nyÅ|j#dƒy}t|j$ƒ}|j%ƒ|j&||ƒ|j&||ƒd|j'kr9xm|j(j)ƒD]Y\}} }!|j*dƒrÙ|j+dƒrÙ|dd!}"|jj,|"ƒj&||ƒqÙqÙWnx'|D]}#|j-|#ƒj&||ƒq@W|j.ƒxƒt
|t|j$ƒƒD]i}$|j$|$\}%}&}'|j/|%ddt0ƒ}(|(j1|&ƒWdQX|&dkr†|j(j2|%ƒq†q†WWdQX|r!|j3tdƒƒ|j4|dƒ})t5j6||)||ƒ}*|jj7sX|jj8ƒnt|*t9j:ƒrÕ|j#dƒW}idd6d|j|ƒd6|_;t9j<||*|dddd|j|ƒƒWdQXn#|*j=|dd|j|ƒt0ƒ|jj7s|jj>ƒn|)j?ƒn|j@jAƒx"|D]}||jƒ||<q5Wd}+}z6|jBƒ}+|j#dƒ}|jC|ƒ|j?ƒWd|jDƒ|+jDƒXx‚|jEƒD]t\},}-y|,jF|-ƒWq¸tGk
r+}.|.jHtHjIkr,|jJtdƒ|,j|-ƒt|.ƒfƒq,q¸Xq¸WWn||r`|jJtdƒ|j|ƒƒn|r©|jJtdƒ|j|ƒƒ|jJtdƒ|j|ƒƒn‚nX|rÆ|jF|ƒn|jKƒdS(!NtnoneR	ismax(parents(%ld) - (%ld))t.iÿÿÿÿssaved backup bundle to %s
tbackupbundlettempR(s9programming error: cannot strip from inside a transactionthints!contact your extension maintainerttreemanifestsmeta/s00manifest.iiiôÿÿÿtat
checkambigisadding branch
trbtsourcesbundle:turltrepairserror removing %s: %s
s+strip failed, backup bundle stored in '%s'
s1strip failed, unrecovered changes stored in '%s'
sG(fix the problem, then recover the changesets with "hg unbundle '%s'")
(RFR	(LtFalset
unfilteredt
destroyingt	changelogt
isinstancetstrtrevtminRtdescendantstaddR9RDR3R4tdifference_updatet
parentrevsR&trevstfirstt
_bookmarkstappendR RR2R%R"tstatusRRtlogRAtcurrenttransactionRtAbortttransactiontentriest
startgroupR	trequirementststoret	datafilest
startswithtendswithtdirlogRBtendgrouptsvfstTruettruncatetmarkremovedtnotetopenRt
readbundletverboset
pushbufferRt
unbundle20thookargstapplybundletapplyt	popbuffertcloset_phasecachet
invalidatetlocktrecordchangetreleaset	undofilestunlinktOSErrorterrnotENOENTtwarnt	destroyed(/R"R#tnodelistREttopictclR&t	striplistR7ttostripRXtdescR6tsaverevst	saveheadsR>RZt	savebasest
stripbasestnewbmtargettbmtupdatebmtmt
backupfileRt
tmpbundlefiletmfsttcurtrtmsgttrtoffsett	unencodedtencodedtsizetdirtfntiRBttroffsettignoretfptftgenRtundovfstundofilete((s4/usr/lib/python2.7/dist-packages/mercurial/repair.pyR	Lsú	
	"	
 
"""	
	
	

&








,c
C@sö|jƒ}d|jkr2|jtdƒƒdS|jƒ²|jj}d|krZnt|jƒ}tƒ}tƒ}t	|ƒ}xÎ|D]Æ}|j
tdƒ|d|dtdƒƒ||}x‹|jƒD]}}	|	|krëqÓn|j|	ƒd	|	}
d
|	}|jj
|
ƒr.|j|
ƒn|jj
|ƒrÓ|j|ƒqÓqÓWqŽW|j
tdƒdƒd|jkròxrtj|ƒD]^}d|}
d
|}|jj
|
ƒrÉ|j|
ƒn|jj
|ƒr|j|ƒqqWnt	||ƒ}
t	||ƒ}x/t||ƒD]}|jtdƒ|ƒq#Wx/t||ƒD]}|jtdƒ|ƒqUW|
s‚|rÙ|jtdƒ|
|fƒ||_t|_|jdƒ}|j|ƒWdQXn|jtdƒƒWdQXdS(stRebuilds the fncache file from repo history.

    Missing entries will be added. Extra entries will be removed.
    tfncachesE(not rebuilding fncache because repository does not support fncache)
Nt
irrelevantt
rebuildingttotaltunitt
changesetss	data/%s.is	data/%s.dRKsmeta/%s/00manifest.ismeta/%s/00manifest.dsremoving %s
s
adding %s
s(%d items added, %d removed from fncache
sfncache already up to date
(RSRiR‰RRRjR®RRgR4tprogressR6R[t_existsR RtdirsRtwriteRqt_dirtyRf(R"R#tfnct
oldentriest
newentriest	seenfilestrepolenRXtctxR©R¥tdR£taddcounttremovecounttpRž((s4/usr/lib/python2.7/dist-packages/mercurial/repair.pytrebuildfncacheøsb
		







		cC@s|jd|||ƒS(s¸
    The revset to strip when strip is called with -B mark

    Needs to live here so extensions can use it and wrap it even when strip is
    not enabled or not present on a box.
    smancestors(bookmark(%s)) - ancestors(head() and not bookmark(%s)) - ancestors(bookmark() and not bookmark(%s))(R^(R#tmark((s4/usr/lib/python2.7/dist-packages/mercurial/repair.pyt
stripbmrevset@s	c	C@s»|s
dSg}|j}d}xCt|ƒD]5\}}||krT|d7}q,n|j|ƒq,W|jdddtƒ}x-tj|t|jƒD]}|j|ƒq–W|j	ƒ|S(sÉDelete some obsmarkers from obsstore and return how many were deleted

    'indices' is a list of ints which are the indices
    of the markers to be deleted.

    Every invocation of this function completely rewrites the obsstore file,
    skipping the markers we want to be removed. The new temporary file is
    created, remaining markers are written there and on .close() this file
    gets atomically renamed to obsstore, thus guaranteeing consistency.Niitobsstoretwt
atomictemp(
t_allt	enumerateRaRpRqRt
encodemarkerst_versionR·R~(	RÆtindicestlefttcurrenttnR¥R˜tnewobsstorefiletbytes((s4/usr/lib/python2.7/dist-packages/mercurial/repair.pytdeleteobsmarkersLs
	

(t
__future__RR‡Rti18nRR&RRRRRRRRRqR2R9RDR	RÃRÅRÓ(((s4/usr/lib/python2.7/dist-packages/mercurial/repair.pyt<module>	s.				
¬	H