korsygfhrtzangaiide
Elepffwdsff
/
lib64
/
python2.7
/
site-packages
/
mercurial
/
Upload FileeE
HOME
� Hq�Qc @ sO d e f d � � YZ d e f d � � YZ d e f d � � YZ d � Z d S( t baseformatterc B sY e Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z RS( c C sC | | _ | | _ | j d � | _ | j d � | _ d | _ d S( Nt stylet template( t _uit _topict gett _stylet _templatet Nonet _item( t selft uit topict opts( ( s9 /usr/lib64/python2.7/site-packages/mercurial/formatter.pyt __init__ s c C s t S( sQ return False if we're not doing real templating so we can skip extra work( t True( R ( ( s9 /usr/lib64/python2.7/site-packages/mercurial/formatter.pyt __bool__ s c C s d S( s0 show a formatted item once all data is collectedN( ( R ( ( s9 /usr/lib64/python2.7/site-packages/mercurial/formatter.pyt _showitem s c C s) | j d k r | j � n i | _ d S( s begin an item in the format listN( R R R ( R ( ( s9 /usr/lib64/python2.7/site-packages/mercurial/formatter.pyt startitem s c K s | j j | � d S( s8 insert data into item that's not shown in default outputN( R t update( R t data( ( s9 /usr/lib64/python2.7/site-packages/mercurial/formatter.pyR s c O s7 x0 t | j � | � D] \ } } | | j | <q Wd S( s3 do default text output while assigning data to itemN( t zipt splitR ( R t fieldst deftextt fielddataR t kt v( ( s9 /usr/lib64/python2.7/site-packages/mercurial/formatter.pyt write s "c O s7 x0 t | j � | � D] \ } } | | j | <q Wd S( s4 do conditional write (primarily for plain formatter)N( R R R ( R t condR R R R R R ( ( s9 /usr/lib64/python2.7/site-packages/mercurial/formatter.pyt condwrite"