korsygfhrtzangaiide
Elepffwdsff
/
lib64
/
python2.7
/
site-packages
/
hgext
/
convert
/
Upload FileeE
HOME
� Hq�Qc @ s� d d l m Z m Z m Z m Z d d l m Z d d l m Z m Z d d l Z d d l Z d d l Z d d l Z d d l m Z d e e f d � � YZ d S( i����( t NoRepot commandlinet committ converter_source( t _( t encodingt utilN( t Parsert gnuarch_sourcec B s� e Z d e f d � � YZ d d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z RS( t gnuarch_revc B s e Z d � Z RS( c C s^ | | _ d | _ d | _ d | _ d | _ g | _ g | _ g | _ i | _ i | _ d S( Nt ( t revt summaryt Nonet datet authort continuationoft add_filest mod_filest del_filest ren_filest ren_dirs( t selfR ( ( s; /usr/lib64/python2.7/site-packages/hgext/convert/gnuarch.pyt __init__ s ( t __name__t __module__R ( ( ( s; /usr/lib64/python2.7/site-packages/hgext/convert/gnuarch.pyR s c C s3 t t | � j | | d | �t j j t j j | d � � sY t t d � | � � n d | _ t j d � r} d | _ n0 t j d � r� d | _ n t j t d � � � t j | | | j � t j j | � | _ d | _ d | _ d | _ i | _ i | _ i | _ t � | _ t j | _ g | _ d S( NR s {arch}s+ %s does not look like a GNU Arch repositoryt bazt tlas cannot find a GNU Arch tool( t superR R t ost patht existst joinR R R t execmdR t findexet AbortR t realpatht tmppatht treeversiont lastrevt changest parentst tagsR t catlogparserR t archives( R t uiR R ( ( s; /usr/lib64/python2.7/site-packages/hgext/convert/gnuarch.pyR s* ! c C sj g | j d d � D] } | j d � ^ q | _ | j d k rX | j d | j � } n | j d d | j � } | j � | _ | j j d � } t j j t j � d | d � | _ g | j d <| j } d } x�| re| j j t d � | � | j d � d } | | j k r6| j j t d � | � Pn | j d d d | � \ } } | j | d | � d } x� | D]� } | j � } | j | � | j | <g | j | <| j d d | j | � \ } } | r�| j d | � } n | j | | � | j | j | � | } | j | j rJd j | j | j j d � d � } Pn | d d k ruPququWq� Wd S( NR, s -ns R s tree-versions -dt /s hg-%si s analyzing tree version %s... i sI tree analysis stopped because it points to an unregistered archive %s... t revisionss -rs -fs"