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/templatekw.pyc

Xc@@sddlmZddlmZmZddlmZmZmZm	Z	m
Z
mZmZde
fdYZd[d[ddZd[dd	Zd
ZdZd[dZd[d
ZiZe
jeZeddZeddZeddZeddZeddZeddZeddZeddZeddZ ed d!Z!ed"d#Z"ed$d%Z#ed&d'Z$ed(d)Z%ed*d+Z&ed,d-Z'ed.d/Z(ed0d1Z)ed2d3Z*ed4d5Z+d6Z,ed7d8Z-ed9d:Z.d;Z/ed<d=Z0d>Z1ed?d@Z2edAdBZ3edCdDZ4edEdFZ5edGdHZ6edIdJZ7edKdLZ8edMdNZ9edOdPZ:edQdRZ;dSZ<edTdUZ=edVdWZ>dXZ?edYdZZ@ejAZBd[S(\i(tabsolute_importi(thextnullid(tencodingterrorthbisecttpatcht	registrartscmutiltutilt_hybridcB@s>eZdZdZdZdZdZdZRS(cC@s(||_||_||_||_dS(N(tgentvaluest_makemaptjoinfmt(tselfRRtmakemapR((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt__init__s			cC@s|jS(N(R(R((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt__iter__"scc@s,|j}x|jD]}||VqWdS(N(R
R(RRtx((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytitermaps$s	cC@s
||jkS(N(R(RR((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt__contains__(scC@s
t|jS(N(tlenR(R((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt__len__*scC@s+|dkrt|nt|j|S(Ntget(tAttributeErrortgetattrR(Rtname((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt__getattr__,s(t__name__t
__module__RRRRRR(((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyR
s					t c@sLs|nt|||||}t||fdfdS(Nc@si|6S(N((R(telement(s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt<lambda>5sc@s|S(N((td(R (s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyR!5s(t	_showlistR
(RRtpluralR t	separatortargstf((R s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytshowlist1s	c
+@s|d|r|}n
d}|sTd|}|krP||VndSkrt|dtr|j|Vnx|D]}t||VqWdSd|}|kr||Vn|jfd}	d}
|
kr|j}nd}x|D]}|	|Vq$W|dk	rY|	|d	|
Vnd
|}|kr||VndS(s+expand set of values.
    name is name of key in template map.
    values is list of strings or dicts.
    plural is plural of name, if not simply name + 's'.
    separator is used to join values as a string

    expansion works like this, given name 'foo'.

    if values is empty, expand 'no_foos'.

    if 'foo' not in template map, return values as a string,
    joined by 'separator'.

    expand 'start_foos'.

    for each value, expand 'foo'. if 'last_foo' in template
    map, expand it instead of 'foo' for last key.

    expand 'end_foos'.
    ttempltstno_Nitstart_c@s{yj|WnZttfk
rmy%x|D]\}}||<q1WWqntk
ri|<qnXnX|S(N(tupdateRt
ValueError(tvttagtatb(RR)tvargs(s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytone`s
tlast_R0tend_(t
isinstancetstrtjointdicttcopytpoptNone(
RRR$R%R&tnamestnonameR/t	startnameR4tlastnametlasttendname((RR)R3s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyR#7s>
	







cC@sT|j}|jjr'|j}n|jd }dtj|j|fS(sxFormat changeset as '{rev}:{node|formatnode}', which is the default
    template provided by cmdutil.changeset_templateris%d:%s(trepotuit	debugflagRRtintrevtrev(tctxRDthexnode((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt_formatrevnodews
cC@s7d|kr/|j|j|d |d<n|dS(Ntfilesi(tstatustp1(RDRItrevcache((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytgetfiless#c
@sd}|dk	r6|d|7}tj|d}n	tj}||krkidddgfd6||<n|||j}|g}xJ|r|j}|krqn||}g|jD]<}|j|r|j|dkr||r|^q}	|	rL|jddgt	|	D]}|^q-f|<qny/t
fd|jD\}
}}Wn>tk
r|j
||jd	|jDqnX|
|d
|f|<qW|S(s8return date, distance and name for the latest tag of revt
latesttagst-iitnullitlocalc3@s|]}|jVqdS(N(RH(t.0tp(RQ(s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pys	<genexpr>scs@s|]}|jVqdS(N(RH(RURV((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pys	<genexpr>siN(R=R	t
stringmatchertalwaysRHR<ttagsttagtypetdatetsortedtmaxtparentstKeyErrortappendtextend(
RDRItcachetpatternt	cachenametmatchRHttodottRYtpdatetpdisttptag((RQs8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt
getlatesttagss<	 
		
$6,

c@s:idkr!tnfd}|S(Nc@s|kr~i|<j|}xV|D]K}|j|}|j|j|}|||<|kr,Pq,q,Wn||kr||Sy||jSWntjk
rdSXdS(slooks up all renames for a file (up to endrev) the first
        time the file is given. It indexes on the changerev and only
        parses the manifest if linkrev != changerev.
        Returns rename info for fn at changerev rev.N(tfiletlinkrevtrenamedtnodeRtLookupErrorR=(tfnRHtfltitlrRn(tendrevtrcacheRD(s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt
getrenameds

(R=R(RDRuRw((RuRvRDs8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytgetrenamedfns
tauthorcK@s
|jS(s/String. The unmodified author of the changeset.(tuser(RDRIR)R&((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt
showauthorstbisectcK@stj||jS(s'String. The changeset bisection status.(RtlabelRo(RDRIR)R&((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt
showbisectstbranchcK@s|djS(sMString. The name of the branch on which the changeset was
    committed.
    RI(R(R&((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt
showbranchstbranchescK@sK|dj}|dkr5td|gdd|Stdgdd|S(sList of strings. The name of the branch on which the
    changeset was committed. Will be empty if the branch name was
    default. (DEPRECATED)
    RItdefaultRR$R(RR((R&R((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytshowbranchesst	bookmarksc@s]|dj}|dj}|jfd}td||}t|||dS(s{List of strings. Any bookmarks associated with the
    changeset. Also sets 'active', the name of the active bookmark.
    RIc@si|d6d6d6S(Ntbookmarktactivetcurrent((R/(R(s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyR!sRcS@s|dS(NR((R((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyR!s(t_repoRt_activebookmarkR#R
(R&RDRRR'((Rs8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt
showbookmarkss
	tchildrencK@sI|d}g|jD]}d||f^q}td|dd|S(s/List of strings. The children of the changeset.RIs%d:%sRR tchild(RR((R&RItcctxt	childrevs((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytshowchildrens
)tcurrentbookmarkcK@s
t|S(sTString. The active bookmark, if it is
    associated with the changeset (DEPRECATED)(tshowactivebookmark(R&((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytshowcurrentbookmarkstactivebookmarkcK@s1|dj}|r-||djkr-|SdS(sGString. The active bookmark, if it is
    associated with the changesetRDRIt(RR(R&R((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyRs
R[cK@s
|jS(s<Date information. The date when the changeset was committed.(R[(RDRIR)R&((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytshowdatestdesccK@sH|j}t|tjr:tjtj|jS|jSdS(s.String. The text of the changeset description.N(tdescriptionR7Rtlocalstrttolocalt	fromlocaltstrip(RDRIR)R&R*((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytshowdescriptionstdiffstatc
K@sStjtj|j}tj|\}}}}}	dt|||fS(siString. Statistics of changes with the following format:
    "modified files: +added/-removed lines"
    s%s: +%s/-%s(RtdiffstatdataR	t	iterlinestdifftdiffstatsumR(
RDRIR)R&tstatstmaxnametmaxtotaltaddstremovestbinary((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytshowdiffstat)stextrasc@s|djtjfdtDfd}gD]}||^qK}td|dd|}t||dS(sRList of dicts with key, value entries of the 'extras'
    field of this changeset.RIc3@s|]}||fVqdS(N((RUtk(R(s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pys	<genexpr>7sc@si|d6|d6S(Ntkeytvalue((R(R(s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyR!8stextraR$RcS@sd|d|dfS(Ns%s=%sRR((R((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyR!<s(RR	tsortdictR\R#R
(R&RRtcR'((Rs8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt
showextras2s%t	file_addscK@sF|d|d|d}}}tdt|||ddd|S(s/List of strings. Files added by this changeset.RDRIROtfile_addiR Rl(R(RP(R&RDRIRO((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytshowfileadds>s tfile_copiesc
@s!|d|d}}|djdd
krd|krWt|d|d<ng|d}xL|jD];}|||j}|rtj||dfqtqtWntjfd}gD]}||^q}td	|d
d|}	t	|	|dS(sLList of strings. Files copied in this changeset with
    their sources.
    RbRIROtcopiesRwRDic@si|d6|d6S(NRtsource((R(R(s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyR!Wst	file_copyR$RcS@sd|d|dfS(Ns%s (%s)RR((R((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyR![sN(
RR=RxRLRHR`R	RR#R
(
R&RbRIRwRqtrenameRRRR'((Rs8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytshowfilecopiesEs"
!tfile_copies_switchc@s|djdpgtjfd}gD]}||^q>}td|dd|}t||dS(s^List of strings. Like "file_copies" but displayed
    only if the --copied switch is set.
    RORc@si|d6|d6S(NRR((R(R(s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyR!gsRR$RcS@sd|d|dfS(Ns%s (%s)RR((R((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyR!ks(RR	RR#R
(R&RRRR'((Rs8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytshowfilecopiesswitch`st	file_delscK@sF|d|d|d}}}tdt|||ddd|S(s1List of strings. Files removed by this changeset.RDRIROtfile_deliR Rl(R(RP(R&RDRIRO((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytshowfiledelsms t	file_modscK@sF|d|d|d}}}tdt|||ddd|S(s2List of strings. Files modified by this changeset.RDRIROtfile_modiR Rl(R(RP(R&RDRIRO((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytshowfilemodsts RLcK@std|dj|S(sRList of strings. All files modified, added, or removed by this
    changeset.
    RlRI(R(RL(R&((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt	showfiles{st	graphnodecK@sj|jj}|dtkr,|d }n|j|krBdS|jrRdS|jrbdSdSdS(sTString. The character representing the changeset node in
    an ASCII revision graphit@Rt_toN(tdirstateR^RRotobsoletetclosesbranch(RDRIR&twpnodes((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt
showgraphnodes
t	latesttagcK@s
td|S(shList of strings. The global tags on the most recent globally
    tagged ancestor of this changeset.
    N(tshowlatesttagsR=(R&((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt
showlatesttagsc@s{|d|d}}|d}t||||fd}d}td|dd|}t|||d	S(
s4helper method for the latesttag keyword and functionRDRIRbc@s$itd6dd6|d6|d6S(NtchangesitdistanceRR0(t_showchangessincetag(R/(RQ(s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyR!siRR%t:cS@s|dS(NR((R((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyR!s(RkR#R
(RcR&RDRIRbRRYR'((RQs8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyRs

tlatesttagdistancecK@st|||dS(s(Integer. Longest path to the latest tag.i(Rk(RDRIR)RbR&((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytshowlatesttagdistancestchangessincelatesttagcK@s0t|||dd}t||d||S(s-Integer. All ancestors not in the latest tag.iiR0(RkR(RDRIR)RbR&R((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytshowchangessincelatesttagscK@s|d}|jg}|d}|jdkr_d}g|jD]}|j^qD}nt|jd|||S(NiR0is
only(%ld, %s)(RHR=R^Rtrevs(RDRIR&toffsetRR0RV((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyRs
(tmanifestcK@s|d|d|d}}}|j}|dkr<dS|j}|ji|jj|d6t|d6|d|S(NRDRIR)RHRoR(tmanifestnodeR=R;R-RRHR(R&RDRIR)tmnode((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytshowmanifests -cK@sT|d}|j}|j|}|j||j}t|j|d||S(s<helper method to generate a template keyword for a namespaceRIR$(RDR>RoR(ttemplatename(t	namespaceR&RIRDtnsR>((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt	shownamess


t
namespacesc@s{djtjfdjjDtdt}t|fddS(sBDict of lists. Names attached to this changeset per
    namespace.RIc3@s?|]5\}}|td|jjfVqdS(RN(R(R>Ro(RURR(R&RIRD(s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pys	<genexpr>sRc@si|d6|d6S(NRR>((R(R(s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyR!scS@s|dS(NR((R((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyR!s(RDR	RR>t	iteritemsR#tlistR
(R&R'((R&RIRRDs8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytshownamespacess
	RocK@s
|jS(sUString. The changeset identification hash, as a 40 hexadecimal
    digit string.
    (R(RDRIR)R&((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytshownodestp1revcK@s|jjS(syInteger. The repository-local revision number of the changeset's
    first parent, or -1 if the changeset has no parents.(RNRH(RDRIR)R&((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt	showp1revstp2revcK@s|jjS(sInteger. The repository-local revision number of the changeset's
    second parent, or -1 if the changeset has no second parent.(tp2RH(RDRIR)R&((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt	showp2revstp1nodecK@s|jjS(sString. The identification hash of the changeset's first parent,
    as a 40 digit hexadecimal string. If the changeset has no parents, all
    digits are 0.(RNR(RDRIR)R&((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt
showp1nodestp2nodecK@s|jjS(sString. The identification hash of the changeset's second
    parent, as a 40 digit hexadecimal string. If the changeset has no second
    parent, all digits are 0.(RR(RDRIR)R&((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt
showp2nodesR^c@s|d|d}tj|}g|D]}t|j^q-}g|D]9}d|jfd|jfd|jfg^qR}td||}t||fddS(	sList of strings. The parents of the changeset in "rev:node"
    format. If the changeset has only one "natural" parent (the predecessor
    revision) nothing is shown.RDRIRHRotphasetparentc@sit|d6id6S(NRIRO(tint(R(RD(s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyR!scS@st|dS(NRI(RK(R"((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyR!s(RtmeaningfulparentsR8RHRtphasestrR#R
(R&RItpctxsRVtprevsR^R'((RDs8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytshowparentss

%CRcK@s
|jS(s!String. The changeset phase name.(R(RDRIR)R&((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt	showphasestphaseidxcK@s
|jS(s#Integer. The changeset phase index.(R(RDRIR)R&((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytshowphaseidxsRHcK@stj|jS(s8Integer. The repository-local changeset revision number.(RRGRH(RDRIR)R&((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytshowrev"sc@si|djg|D]}t|^q}t||}t||fdfdS(sWhelper to generate a list of revisions in which a mapped template will
    be evaluatedRIc@s#i|6t|d6id6S(NRIRO(R(R(RRD(s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyR!.sc@s|S(N((R"(R(s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyR!/s(RDR8R#R
(RRR&trR'((RRDs8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytshowrevslist's	tsubreposcK@s|d}|j}|s)tdg|S|jdjp?i}g}x>|D]6}||ksu||||krO|j|qOqOWx*|D]"}||kr|j|qqWtdt||S(s:List of strings. Updated subrepositories in the changeset.RItsubrepoi(tsubstateR(R^R`R\(R&RIRt	psubstateRtsub((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytshowsubrepos1s
	
 
RYcK@s
td|S(s8List of strings. Any tags associated with the changeset.RY(R(R&((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytshowtagsEscC@s.x'|jjD]\}}|t|<qWdS(s6Load template keyword from specified registrarobj
    N(t_tableRtkeywords(REtextnametregistrarobjRtfunc((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytloadkeywordJst	termwidthcK@s
|jjS(s+Integer. The width of the current terminal.(RER
(RDRIR)R&((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyR
PsN(Ct
__future__RRoRRRRRRRRRR	tobjectR
R=R(R#RKRPRkRxRttemplatekeywordR{R~RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR	R
Rt
i18nfunctions(((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt<module>sj4@	
	*'