�
��@slddkZdZgZeD]ZeD]Zeeeq'q[ZhZd�Zed�Z d�Z
dS(i�NsU0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz!#$%&()*+-;<=>?@^_`{|}~cCs+x$tt�D]\}}|t|<q
WdS(N(t enumeratet _b85charst_b85dec(titc((s?/sys/lib/python/lib/python2.5/site-packages/mercurial/base85.pyt _mkb85decs
cCs�t|�}|d}|o|dd|7}nt|�d?}tid||�}did�|D��}|o|Sn|d}|o|d7}n||dd7}|| S( sencode text in base85 formatitis>%dLtcssAx:|]3}t|ddt|ddt|dVqWdS(i�iUi9N(Rt
_b85chars2(t.0tword((s?/sys/lib/python/lib/python2.5/site-packages/mercurial/base85.pys <genexpr>s ii(tlentstructtunpacktjoin(ttexttpadtltrtlongstwordstouttolen((s?/sys/lib/python/lib/python2.5/site-packages/mercurial/base85.pyt b85encodes
c Cs{tpt�nt|�}g}x�tdt|�d�D]�}|||d!}d}xZt|�D]L\}}y|dt|}Wqgtj
otd||��qgXqgW|djotd|��n|i|�q=W|d}|oG|dd|9}|djo|d|d d
?7}n||d<nti dt|�|�}|o|d| }n|S(
sdecode base85-encoded textiiiUs#bad base85 character at position %dl�s+Base85 overflow in hunk starting at byte %dii�iii�s>%dL(
RRRtrangeRtKeyErrort
ValueErrortappendRtpack( RRRRtchunktacctjRtcl((s?/sys/lib/python/lib/python2.5/site-packages/mercurial/base85.pyt b85decode+s8
(RRt_[1]tatbRRRtFalseRR!(((s?/sys/lib/python/lib/python2.5/site-packages/mercurial/base85.pys<module>s2
|