��Qc@sOdefd��YZdefd��YZdefd��YZd�ZdS(t
baseformattercBsYeZd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z d�Z
RS( cCsC||_||_|jd�|_|jd�|_d|_dS(Ntstylettemplate(t_uit_topictgett_stylet _templatetNonet_item(tselftuittopictopts((s7/sys/lib/python2.7/site-packages/mercurial/formatter.pyt__init__ s
cCstS(sQreturn False if we're not doing real templating so we can
skip extra work(tTrue(R
((s7/sys/lib/python2.7/site-packages/mercurial/formatter.pyt__bool__scCsdS(s0show a formatted item once all data is collectedN((R
((s7/sys/lib/python2.7/site-packages/mercurial/formatter.pyt _showitemscCs)|jdk r|j�ni|_dS(s begin an item in the format listN(R RR(R
((s7/sys/lib/python2.7/site-packages/mercurial/formatter.pyt startitems
cKs|jj|�dS(s8insert data into item that's not shown in default outputN(R tupdate(R
tdata((s7/sys/lib/python2.7/site-packages/mercurial/formatter.pyRscOs7x0t|j�|�D]\}}||j|<qWdS(s3do default text output while assigning data to itemN(tziptsplitR (R
tfieldstdeftextt fielddataR
tktv((s7/sys/lib/python2.7/site-packages/mercurial/formatter.pytwrites"cOs7x0t|j�|�D]\}}||j|<qWdS(s4do conditional write (primarily for plain formatter)N(RRR (R
tcondRRRR
RR((s7/sys/lib/python2.7/site-packages/mercurial/formatter.pyt condwrite"s"cKsdS(s$show raw text for non-templated modeN((R
ttextR
((s7/sys/lib/python2.7/site-packages/mercurial/formatter.pytplain&scCs |jdk r|j�ndS(send output for the formatterN(R RR(R
((s7/sys/lib/python2.7/site-packages/mercurial/formatter.pytend)s(t__name__t
__module__RRRRRRRR R!(((s7/sys/lib/python2.7/site-packages/mercurial/formatter.pyRs tplainformattercBsVeZdZd�Zd�Zd�Zd�Zd�Zd�Zd�Z d�Z
RS( sthe default text output schemecCstj||||�dS(N(RR(R
RRR
((s7/sys/lib/python2.7/site-packages/mercurial/formatter.pyR0scCstS(N(tFalse(R
((s7/sys/lib/python2.7/site-packages/mercurial/formatter.pyR2scCsdS(N((R
((s7/sys/lib/python2.7/site-packages/mercurial/formatter.pyR4scKsdS(N((R
R((s7/sys/lib/python2.7/site-packages/mercurial/formatter.pyR6scOs|jj|||�dS(N(RR(R
RRRR
((s7/sys/lib/python2.7/site-packages/mercurial/formatter.pyR8scOs$|r |jj|||�ndS(sdo conditional writeN(RR(R
RRRRR
((s7/sys/lib/python2.7/site-packages/mercurial/formatter.pyR:scKs|jj||�dS(N(RR(R
RR
((s7/sys/lib/python2.7/site-packages/mercurial/formatter.pyR >scCsdS(N((R
((s7/sys/lib/python2.7/site-packages/mercurial/formatter.pyR!@s(R"R#t__doc__RRRRRRR R!(((s7/sys/lib/python2.7/site-packages/mercurial/formatter.pyR$.s tdebugformattercBs#eZd�Zd�Zd�ZRS(cCs1tj||||�|jjd|j�dS(Ns%s = {
(RRRRR(R
RRR
((s7/sys/lib/python2.7/site-packages/mercurial/formatter.pyRDscCs%|jjdt|j�d�dS(Ns s,
(RRtreprR (R
((s7/sys/lib/python2.7/site-packages/mercurial/formatter.pyRGscCs!tj|�|jjd�dS(Ns}
(RR!RR(R
((s7/sys/lib/python2.7/site-packages/mercurial/formatter.pyR!Is
(R"R#RRR!(((s7/sys/lib/python2.7/site-packages/mercurial/formatter.pyR'Cs cCs2|jdd�r"t|||�St|||�S(NRtformatdebug(t
configboolR'R$(RRR
((s7/sys/lib/python2.7/site-packages/mercurial/formatter.pyt formatterMsN(tobjectRR$R'R+(((s7/sys/lib/python2.7/site-packages/mercurial/formatter.pyt<module>s&
|