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/hbisect.pyc
ó
ÛXc@@s°ddlmZddlZddlmZddlmZmZddlm	Z	d„Z
d„Zd	„Zd
„Z
d„Zd„Zd
„Zd„Zd„Zd„ZdS(i(tabsolute_importNi(t_(thextshort(terrorc@súˆj‰tg|dD]}ˆj|ƒ^qƒ}‡‡fd†}t}||d|dƒ\}}|s–t}||d|dƒ\}}nˆj|ƒ}|s+t|dƒdkrt|dƒdkr|d|dkrtjt	dƒƒ‚ntjt	dƒ|t
|ƒfƒ‚ni}	tj|gƒ}
g}x–|
rá|
j
ƒ}||gkrL|j|ƒx`ˆ|ƒD]O}
|
dkrˆ|
|	krº|	|
j|ƒq×|g|	|
<|
j|
ƒqˆqˆWqLqLW|jƒt|ƒ}g|D]$}||krÿ||krÿ|^qÿ}|dks<|reg|D]}ˆj|ƒ^qCd	|fS|d
}d}d}tƒ}xB|D]:}||kr¼|j|	j|gƒƒq‹n||pÌ|g}d||<t|ƒ}||}t||ƒ}||kr5||kr5|}|}||kr5Pq5n||krl||krl|j|	j|gƒƒq‹nxV|	j|gƒD]B}||r°tt|||ƒƒ||<q||g||<qWq‹W|dk	sÛt‚ˆj|ƒ}|g||fS(s¥find the next node (if any) for testing during a bisect search.
    returns a (nodes, number, good) tuple.

    'nodes' is the final result of the bisect if 'number' is 0.
    Otherwise 'number' indicates the remaining possible candidates for
    the search and 'nodes' contains the next bisect target.
    'good' is True if bisect is searching for a first good changeset, False
    if searching for a first bad one.
    tskipc	@sptg|D]}ˆj|ƒ^q
ƒ}g|D]}ˆj|ƒ^q/}t|ƒ}dgtˆƒd}x|D]}g||<qtWxOˆj|dƒD]:}x1ˆ|ƒD]#}||gkr¯g||<q¯q¯WqœWx|D]}d||<qáWxTˆjtˆƒ|ƒD]:}||dkrx!ˆ|ƒD]}d||<q1WqqW||dkrf|dfS||fS(Ni(tmintrevtNonetlentrevs(	tbadtgoodtntbadrevtgoodrevstgoodrevt	ancestorsRtprev(t	changelogt	clparents(s5/usr/lib/python2.7/dist-packages/mercurial/hbisect.pytbuildancestors&s&("


RRis+starting revisions are not directly relateds)inconsistent state, %s:%s is good and badiÿÿÿÿiiN(t
parentrevstsetRtFalsetTruetnodeR	RtAbortRRtcollectionstdequetpoplefttappendtsortRtupdatetgetRtlisttAssertionError(RtstateR
RRRRRRtchildrentvisitt
candidatesRRttottct	unskippedtperfecttbest_revtbest_lentpoisontatxtytvaluet	best_node((RRs5/usr/lib/python2.7/dist-packages/mercurial/hbisect.pytbisectsz	, ,	


1)
	



!cC@s‘||djƒ}t|ƒdkr|r9|d}n
|d}ttd„|Dƒƒt|ƒ@ƒ}|dkr|dj|dƒSndS(NiiRRcs@s|]}|jƒVqdS(N(R(t.0ti((s5/usr/lib/python2.7/dist-packages/mercurial/hbisect.pys	<genexpr>—s(tparentsR	RtancestorR(trepoR%tnodesRR8tsidetnum((s5/usr/lib/python2.7/dist-packages/mercurial/hbisect.pytextendrangeŽs

&cC@s¡igd6gd6gd6gd6}xx|jjdƒD]d}|d jƒ\}}|j|ƒ}||krˆtjtdƒ|ƒ‚n||j|ƒq5W|S(NtcurrentRRRsbisect.stateiÿÿÿÿsunknown bisect kind %s(tvfsttryreadlinestsplittlookupRRRR(R:R%tltkindR((s5/usr/lib/python2.7/dist-packages/mercurial/hbisect.pyt
load_stateœs"cC@s‚|jdddtƒ}|jƒXxFt|ƒD]8}x/||D]#}|jd|t|ƒfƒqCWq2W|jƒWdQXdS(Nsbisect.statetwt
atomictemps%s %s
(R@RtwlocktsortedtwriteRtclose(R:R%tfRER((s5/usr/lib/python2.7/dist-packages/mercurial/hbisect.pyt
save_state§s
%cC@s)|jjdƒr%|jjdƒndS(s+remove any bisect state from the repositorysbisect.stateN(R@texiststunlink(R:((s5/usr/lib/python2.7/dist-packages/mercurial/hbisect.pyt
resetstate¯scC@sS|dr|drtS|ds:tjtdƒƒ‚ntjtdƒƒ‚dS(s[check we have both 'good' and 'bad' to define a range

    Raise Abort exception otherwise.RRs'cannot bisect (no known good revisions)s&cannot bisect (no known bad revisions)N(RRRR(R%((s5/usr/lib/python2.7/dist-packages/mercurial/hbisect.pyt
checkstate´s

c
C@sht|ƒ}|dkr/t|jj||ƒSd}|jdƒ}t|ƒdkred}d	}nd
}d}d}d
|||f}d||f}	d}
d}d|
||f}|dkrÒ|j|ƒS|dkrë|j|ƒS|dkr|j|	ƒS|dkr|j|ƒS|dkr6|j|ƒS|dkrO|j|ƒStjtdƒƒ‚dS(s
    Return a list of revision(s) that match the given status:

    - ``good``, ``bad``, ``skip``: csets explicitly marked as good/bad/skip
    - ``goods``, ``bads``      : csets topologically good/bad
    - ``range``              : csets taking part in the bisection
    - ``pruned``             : csets that are goods, bads or skipped
    - ``untested``           : csets whose fate is yet unknown
    - ``ignored``            : csets ignored due to DAG topology
    - ``current``            : the cset currently being bisected
    RRRR?s9( bisect(bad)::bisect(good) | bisect(good)::bisect(bad) )sbisect(good)::bisect(bad)isbisect(good)::s
::bisect(bad)s::bisect(good)s
bisect(bad)::sbisect(skip)s( (%s) | (%s) | (%s) )s( (%s) - (%s) )s::bisect(bad) - ::bisect(good)s::bisect(good) - ::bisect(bad)s( ( (%s) | (%s) ) - (%s) )trangetprunedtuntestedtignoredtgoodstbadssinvalid bisect stateN(RRRR?(	RFtmapRRR
R	Rt
ParseErrorR(
R:tstatusR%RSt_tRWRXtskipsRTRUtibatigaRV((s5/usr/lib/python2.7/dist-packages/mercurial/hbisect.pyR"¿s:
	





cC@s|jj|ƒ}|t|dƒkr1tdƒS|t|dƒkrPtdƒS|t|dƒkrotdƒS|t|dƒks™|t|dƒkr£tdƒS|t|dƒkrÂtdƒS|t|dƒkrátd	ƒS|t|d
ƒkrtdƒSdS(NRRRtskippedRUR?RVRWsgood (implicit)RXsbad (implicit)(RRR"RR(R:RR((s5/usr/lib/python2.7/dist-packages/mercurial/hbisect.pytlabels 


*



cC@s|r|djƒSdS(Ni(tupperR(Ra((s5/usr/lib/python2.7/dist-packages/mercurial/hbisect.pyt
shortlabel scC@sót|ƒdkr”|r.|jtdƒƒn|jtdƒƒ|j||dƒt||||ƒ}|dk	rå|jtdƒ|ƒqånQ|r°|jtdƒƒn|jtdƒƒx|D]}|j||ƒqÊW|jƒdS(NisThe first good revision is:
sThe first bad revision is:
isƒNot all ancestors of this changeset have been checked.
Use bisect --extend to continue the bisection from
the common ancestor, %s.
sCDue to skipped revisions, the first good revision could be any of:
sBDue to skipped revisions, the first bad revision could be any of:
(R	RKRtshowR>RRL(tuiR:R%t	displayerR;Rt
extendnodeR
((s5/usr/lib/python2.7/dist-packages/mercurial/hbisect.pytprintresult&s
(t
__future__RRti18nRRRRtRR5R>RFRNRQRRR"RaRcRh(((s5/usr/lib/python2.7/dist-packages/mercurial/hbisect.pyt<module>s	v						C