File: //usr/lib/python2.7/dist-packages/hgext/automv.pyc
ó
ŰXc @@ 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 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 scmutilt similarc 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( ( s0 /usr/lib/python2.7/dist-packages/hgext/automv.pyt extsetup' s
c O@ s d } | j d t } | sĂ | j d d d } d | k oJ d k n sg t j t d n | d k rĂ t j | d | | } t | | \ } }
t
| | | |
| d } qĂ n | j = | d k rő t j | d
d | n | | | | | SWd QXd S( s&