-=[ Mr. Bumblebee ]=-
_Indonesia_

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


\,Tc@sddlmZddlZddlZddlZddlZdefdYZdddZ	ddZ
dZdZdd	Z
d
ZdZdZd
ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZ dZ!dZ"dZ#d Z$d!Z%d"Z&d#Z'd$Z(d%Z)d&Z*d'Z+ied(6ed)6ed*6ed+6ed,6ed-6ed.6ed/6ed06ed16ed26ed36ed46ed56ed66ed76ed86ed96e d:6e!d;6e"d<6e#d=6e%d>6e$d?6e&d@6e'dA6e(dB6e)dC6e*dD6e+dE6Z,dFZ-ie-dG6Z.e.j/e,e.d+=e.j0Z1dS(Hi(thexNt_hybridcBs&eZddZdZdZRS(cCs4||_||_|r$||_nd|_dS(NcSs|jdS(Ni(tvalues(tx((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt<lambda>s(tgenRtjoinfmt(tselfRRR((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt__init__s
		cCs|jS(N(R(R((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt__iter__sccsx|jD]}|Vq
WdS(N(R(RR((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt__call__sN(t__name__t
__module__tNoneRR	R
(((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyRs	cKsK|s|}nt||||}t|g|D]}i||6^q1S(N(t	_showlistR(tnameRtpluraltelementtargstfR((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytshowlists	c+s|d|r|}n
d}|sTd|}|krP||VndSkrt|dtrdj|Vnx|D]}t||VqWdSd|}|kr||Vn|jfd}d	}	|	kr|j}
nd}
x|D]}||Vq$W|
dk	rY||
d
|	Vnd|}|kr||VndS(sexpand 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'.

    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 space.

    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_Nit tstart_cs{yj|WnZttfk
rmy%x|D]\}}||<q1WWqntk
ri|<qnXnX|S(N(tupdatetAttributeErrort
ValueError(tvttagtatb(RRtvargs(s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytoneLs
tlast_Rtend_(t
isinstancetstrtjointdicttcopytpopR
(RRRRtnamestnonameRt	startnameR"tlastnametlasttendname((RRR!s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyR$s>
	







cCsCd|kr;|j|jj|jd |d<n|dS(Ntfilesi(tstatustp1tnode(trepotctxtrevcache((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytgetfilescs/c
s~d|kr id
d6|d<n|d|j}|g}x4|ru|j}|krfqBn||}g|jD]0}|j|r}|j|dkr}|^q}}|r|jdddjt|f|<qBny/tfd|jD\}}}	Wn>t	k
rZ|j
||jd|jDqBnX||d	|	f|<qBW|S(s8return date, distance and name for the latest tag of revt
latesttagsitnullitlocalt:c3s|]}|jVqdS(N(trev(t.0tp(R9(s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pys	<genexpr>scss|]}|jVqdS(N(R=(R>R?((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pys	<genexpr>si(iiR:(R=R*ttagsttagtypetdateR'tsortedtmaxtparentstKeyErrortappendtextend(
R5R6tcacheR=ttodottR@tpdatetpdisttptag((R9s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt
getlatesttagshs0
		
0,,

cs:idkr!tnfd}|S(Ncs|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(tfiletlinkrevtrenamedR4terrortLookupErrorR
(tfnR=tfltitlrRR(tendrevtrcacheR5(s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt
getrenameds

(R
tlen(R5RYR[((RYRZR5s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytgetrenamedfns
cKs
|jS(s8:author: String. The unmodified author of the changeset.(tuser(R5R6RR((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt
showauthorscKstj||jS(s0:bisect: String. The changeset bisection status.(thbisecttlabelR4(R5R6RR((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt
showbisectscKs|djS(sV:branch: String. The name of the branch on which the changeset was
    committed.
    R6(tbranch(R((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt
showbranchscKsK|dj}|dkr5td|gdd|Stdgdd|S(s:branches: List of strings. The name of the branch on which the
    changeset was committed. Will be empty if the branch name was
    default.
    R6tdefaultRcRtbranches(RcR(RRc((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytshowbranchesscKsT|dj}|dj}td||}x|jD]}|j|d<q9W|S(sR:bookmarks: List of strings. Any bookmarks associated with the
    changeset.
    R6tbookmarktcurrent(t_repot	bookmarksRRt_bookmarkcurrent(RR5Rkthybridtvalue((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt
showbookmarkss
cKsI|d}g|jD]}d||f^q}td|dd|S(s::children: List of strings. The children of the changeset.R6s%d:%stchildrenRtchild(RpR(RR6tcctxt	childrevs((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytshowchildrens
)cKsOddl}|d}|j|rK|j}||djkrK|SndS(sY:currentbookmark: String. The active bookmark, if it is
    associated with the changesetiNR5R6t(Rkt	iscurrentRl(RRkR5Ri((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytshowcurrentbookmarks
	cKs
|jS(sC:date: Date information. The date when the changeset was committed.(RB(R5R6RR((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytshowdatescKs|jjS(s5:desc: String. The text of the changeset description.(tdescriptiontstrip(R5R6RR((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytshowdescriptionsc
KsStjtj|j}tj|\}}}}}	dt|||fS(st:diffstat: String. Statistics of changes with the following format:
    "modified files: +added/-removed lines"
    s%s: +%s/-%s(tpatchtdiffstatdatatutilt	iterlinestdifftdiffstatsumR\(
R5R6RRtstatstmaxnametmaxtotaltaddstremovestbinary((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytshowdiffstatscKsv|dj}gt|jD]"}i|dd6|dd6^q#}td|dd|}t||d	S(
s[:extras: List of dicts with key, value entries of the 'extras'
    field of this changeset.R6itkeyiRntextraRtextrascSsd|d|dfS(Ns%s=%sRRn((R((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyRs(RRCtitemsRR(RRRtcR((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt
showextrass;cKsF|d|d|d}}}tdt|||ddd|S(s;:file_adds: List of strings. Files added by this changeset.R5R6R7tfile_addiRRP(RR8(RR5R6R7((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytshowfileaddss c
Ks|d|d}}|djd}|dkrd|krWt|d|d<ng}|d}xL|jD];}|||j}|rt|j||dfqtqtWng|D]"}i|dd6|d	d
6^q}td|dd
|}	t|	|dS(sZ:file_copies: List of strings. Files copied in this changeset with
    their sources.
    RIR6R7tcopiesR[R5iRitsourcet	file_copyRtfile_copiescSsd|d|dfS(Ns%s (%s)RR((R((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyRsN(tgetR
R]R1R=RGRR(
RRIR6RR[RUtrenameRRR((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytshowfilecopiess
!/cKss|djdpg}g|D]"}i|dd6|dd6^q }td|dd	|}t||d
S(ss:file_copies_switch: List of strings. Like "file_copies" but displayed
    only if the --copied switch is set.
    R7RiRiRRRRcSsd|d|dfS(Ns%s (%s)RR((R((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyRs(RRR(RRRRR((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytshowfilecopiesswitchs/cKsF|d|d|d}}}tdt|||ddd|S(s=:file_dels: List of strings. Files removed by this changeset.R5R6R7tfile_deliRRP(RR8(RR5R6R7((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytshowfiledelss cKsF|d|d|d}}}tdt|||ddd|S(s>:file_mods: List of strings. Files modified by this changeset.R5R6R7tfile_modiRRP(RR8(RR5R6R7((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytshowfilemods"s cKstd|dj|S(sZ:files: List of strings. All files modified, added, or removed by this
    changeset.
    RPR6(RR1(R((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt	showfiles(scKst|||dS(sW:latesttag: String. Most recent global tag in the ancestors of this
    changeset.
    i(RO(R5R6RRIR((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt
showlatesttag.scKst|||dS(s<:latesttagdistance: Integer. Longest path to the latest tag.i(RO(R5R6RRIR((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytshowlatesttagdistance4scKsz|d|d|d}}}|j}|ji|jj|jdd6t|jdd6|d|S(NR5R6RiR=R4tmanifest(R)RRR=t	changesetR(RR5R6R((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytshowmanifest8s
 &cKs
|jS(s\:node: String. The changeset identification hash, as a 40 hexadecimal
    digit string.
    (R(R5R6RR((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytshownode?scKs|jjS(s:p1rev: Integer. The repository-local revision number of the changeset's
    first parent, or -1 if the changeset has no parents.(R3R=(R5R6RR((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt	showp1revEscKs|jjS(s:p2rev: Integer. The repository-local revision number of the changeset's
    second parent, or -1 if the changeset has no second parent.(tp2R=(R5R6RR((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt	showp2revJscKs|jjS(s:p1node: String. 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.(R3R(R5R6RR((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt
showp1nodeOscKs|jjS(s:p2node: String. 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(R5R6RR((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt
showp2nodeUscKs
|jS(s):phase: String. The changeset phase name.(tphasestr(R5R6RR((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt	showphase[scKs
|jS(s.:phaseidx: Integer. The changeset phase index.(tphase(R5R6RR((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytshowphaseidx_scKs
|jS(s>:rev: Integer. The repository-local changeset revision number.(R=(R5R6RR((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytshowrevcscKs|d}|j}|s)tdg|S|jdjp?i}g}x>|D]6}||ksu||||krO|j|qOqOWx*|D]"}||kr|j|qqWtdt||S(sE:subrepos: List of strings. Updated subrepositories in the changeset.R6tsubrepoi(tsubstateRRERGRC(RR6Rt	psubstatetsubrepostsub((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytshowsubreposgs
	
 
cKstd|dj|S(s?:tags: List of strings. Any tags associated with the changeset.RR6(RR@(R((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pytshowtagswstauthortbisectRcRfRkRptcurrentbookmarkRBtdesctdiffstatRt	file_addsRtfile_copies_switcht	file_delst	file_modsR1t	latesttagtlatesttagdistanceRR4tp1revtp1nodetp2revtp2nodeRtphaseidxR=RR@cKsdS(s:parents: List 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.N((R((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt_showparentssRE(2R4RR|R~RSR`tobjectRR
RRR8ROR]R_RbRdRgRoRtRwRxR{RRRRRRRRRRRRRRRRRRRRRtkeywordsRtdockeywordsRRt
i18nfunctions(((s8/usr/lib/python2.7/dist-packages/mercurial/templatekw.pyt<module>s$?		" 				
																											
	



Copyright © 2017 || Recoded By Mr.Bumblebee