
    6hm	                        S r SSKJr  SSKJrJrJr  SSKJrJ	r	J
r
JrJr  Sr0 r\R                  " \5      r\" SSS	S
/S9  \	R                   rS rS rS r\R*                  r\R,                  rg)zIcreate clones which fetch history data for subset of files (EXPERIMENTAL)    )annotations)	localrepo	registrarrequirements   )narrowbundle2narrowcommands
narrowreponarrowtemplatesnarrowwirepeers   ships-with-hg-core   experimentals   narrowservebrokenellipsesF)   narrows   serveellipses)defaultaliasc                B    UR                  [        R                  5        g )N)addr   NARROW_REQUIREMENT)uifeaturess     7/usr/lib/python3/dist-packages/hgext/narrow/__init__.pyfeaturesetupr   6   s    LL001    c                    [         R                  R                  [        5        [        R
                  " 5         [        R
                  " 5         [        R                  " 5         g)z@Wraps user-facing mercurial commands with narrow-aware versions.N)	r   featuresetupfuncsr   r   r   setupr	   r   uisetup)r   s    r   r   r   :   s:    ##L1r   c                   UR                  5       (       d  gUR                  R                  SSSS5        [        R                  UR                  ;   a-  [
        R                  " U5        [        R                  " U5        gg)z2Wraps local repositories with narrow repo support.Nr   r   Ts
   narrow-ext)	localr   	setconfigr   r   r
   wraprepor   	reposetup)r   repos     r   r!   r!   B   s]    ::<<GGoy$F&&$*;*;;D!  & <r   N)__doc__
__future__r   	mercurialr   r   r    r   r	   r
   r   r   
testedwithconfigtable
configitemtablecmdtabler   r   r!   templatekeywordrevsetpredicate r   r   <module>r/      s    P "   #
!!+.
  (
)	 2' "11!11r   