File: //proc/thread-self/root/lib64/python2.7/site-packages/hgext/automv.pyc
�
1�3\c @@ s� d Z d d l m Z d d l m Z d d l m Z m Z m Z m Z m
Z
m Z m Z m
Z
i Z e j e � Z e d d d d �d � Z d
� Z d � Z d � Z d
S( sx check for unrecorded moves at commit time (EXPERIMENTAL)
This extension checks at commit/amend time if any of the committed files
comes from an unrecorded mv.
The threshold at which a file is considered a move can be set with the
``automv.similarity`` config option. This option takes a percentage between 0
(disabled) and 100 (files must be identical), the default is 95.
i ( t absolute_import( t _( t commandst copiest errort
extensionst pycompatt registrart scmutilt similart automvt
similarityt defaulti_ c C@ s? t j t j d t � } | d j d d d t d � f � d S( Nt commiti t s no-automvs% disable automatic file move detection( R t wrapcommandR t tablet mvcheckt appendt NoneR ( t uit entry( ( s2 /usr/lib64/python2.7/site-packages/hgext/automv.pyt extsetup0 s
c
O@ s' t j | � } d } | j d t � } | s� | j d d � } d | k oV d k n ss t j t d � � � n | d k r� t j
| d | | � } t | | � \ } }
t | | | |
| d � } q� n | j
� �F | d k rt j | d d
| � n | | | | t j | � � SWd QXd S( s&