mň óRĹDc@sjdZdkZdkZdkZdkZdkZdZead„Z d„Z dd„Z d„Z dS(s Mercurial version NtunknowncCs1ydkl}Wntj o t}nX|S(s(Return version information if available.(sversionN(tmercurial.__version__tversiont ImportErrortunknown_version(R((t5/usr/lib/python2.4/site-packages/mercurial/version.pyt get_versions  cCsČ|tƒjodSntiitƒ}xQdddgD]@}y$titii |d|ƒƒWq:t j oq:Xq:Wt tii |dƒdƒ}|i dƒ|i d |ƒ|iƒdS( sOverwrite version file.Ntpytpyctpyos__version__.%ss__version__.pytws# This file is auto-generated. s version = %r (RRtostpathtdirnamet__file__t directorytsuffixtunlinktjointOSErrortopentftwritetclose(RRRR((Rt write_versions$  cCs;| otiidƒotidtiƒ}|iƒd }|i ƒ oÉ|oÂ|i ddƒ}|i dƒ}|ddjo|d }t}nt}|iƒoG|o@x=|di dƒD]$}tid |ƒo |}PqĘqĘWn|o|tid ƒ7}qqn|otat|ƒnd S( sStore version information.s.hgshg identify 2> %si˙˙˙˙t iit+t/s^(\d+\.)+[\w.-]+$s+%Y%m%dN(RR R tisdirtpopentutiltnulldevRtreadtidentRtsplittidstpoptTruetmodifiedtFalsetisalnumttagtretmatchttimetstrftimetremembered_versionR(RR!RR)R#R&((Rtremember_version,s.   cCstottƒndS(sRemove version information.N(R.RR(((Rtforget_versionFs(t__doc__R tos.pathR*R,RRR'R.RRtNoneR/R0( RR/RR0RR*RR,R ((Rt? s