korsygfhrtzangaiide
Elepffwdsff
/
lib64
/
python2.7
/
site-packages
/
hgext
/
convert
/
Upload FileeE
HOME
� Hq�Qc @ sM d d l m Z m Z m Z m Z m Z d d l m Z d d l m Z d d l Z d d l Z d d l Z d d l Z y d d l m Z m Z Wn� e k r/y d d l m Z m Z Wq0e k r+y d d l m Z m Z Wq,e k r'y d d l m Z m Z Wq(e k r#q(Xq,Xq0Xn Xd e e f d � � YZ d S( i����( t NoRepot checktoolt commandlinet committ converter_source( t _( t utilN( t ElementTreet XMLParsert darcs_sourcec B s� e Z d d � Z d � Z d � Z d d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z RS( c C sk t j | | | d | �t j | | d � t j j t j j | d � � sf t t d � | � � n t d � | j d � j � d j � } | d k r� t j t d � | � � n d t � k r� t j t d � � � n t j j | � | _ d | _ i | _ i | _ i | _ | j � } | rQ| d k rgt t d � | � � qgn | j j t d � � d S( Nt revt darcst _darcss( %s does not look like a darcs repositorys --versioni s 2.1s, darcs version 2.1 or newer needed (found %r)R s* Python ElementTree module is not availables darcs-1.0t hasheds3 %s repository format is unsupported, please upgrades# failed to detect repository format!( s darcs-1.0R ( R t __init__R t ost patht existst joinR R R t run0t splitlinest stripR t Abortt globalst realpatht Nonet lastrevt changest parentst tagst formatt uit warn( t selfR R R t versionR ( ( s9 /usr/lib64/python2.7/site-packages/hgext/convert/darcs.pyR s, ! c C s: t j d d t j j | j � d � | _ | j d d | j �\ } } | j | � | j d d t d t d | j �} d } d } x� | j d � D]� } | j d � } | j d d � } | j d � r� | d j � } n"