-=[ Mr. Bumblebee ]=-
_Indonesia_
ó
làÁ\c @ s„ d d l Z d d l Z d d l Z d d l Z d d l Z d d l m Z d „ Z d e f d „ ƒ YZ d d „ Z d „ Z d S( iÿÿÿÿN( t _c C s t j | j ƒ ƒ S( N( t encodingt hfsignorecleant lower( t s( ( s6 /usr/lib/python2.7/dist-packages/mercurial/pathutil.pyt _lowerclean s t pathauditorc B s/ e Z d Z d e d „ Z d „ Z d „ Z RS( sr ensure that a filesystem path contains no banned components.
the following properties of a path are checked:
- ends with a directory separator
- under top-level .hg
- starts at the root of a windows drive
- contains ".."
- traverses a symlink (e.g. a/symlink_here/b)
- inside a nested repository (a callback can be used to approve
some nested repositories, e.g., subrepositories)
If 'cached' is set to True, audited paths and sub-directories are cached.
Be careful to not keep the cache of unmanaged directories for long because
audited paths may be replaced with symlinks.
c C st t ƒ | _ t ƒ | _ | | _ | | _ | | _ t j j | ƒ rd t j
| ƒ rd t j | _ n d „ | _ d S( Nc S s | S( N( ( t x( ( s6 /usr/lib/python2.7/dist-packages/mercurial/pathutil.pyt <lambda>$ s ( t sett auditedt
auditeddirt roott _cachedt callbackt ost patht lexistst utilt checkcaset normcase( t selfR R t cached( ( s6 /usr/lib/python2.7/dist-packages/mercurial/pathutil.pyt __init__ s "c C sÀ t j | ƒ } | j | ƒ } | | j k r1 d St j | ƒ r\ t j t d ƒ | ƒ ‚ n t j | ƒ } t j j
| ƒ d s¦ t | d ƒ d k s¦ t j | k r t j t d ƒ | ƒ ‚ n xo | D]g } d | k rÉ | j
d d ƒ \ } } | j ƒ r0| j ƒ d k r0t j t d ƒ | ƒ ‚ q0qÉ qÉ Wd t | ƒ k rÖg | D] } t | j ƒ ƒ ^ qM} xh d D]] } | | d k rr| j | ƒ } t j j | | Œ } t j t d ƒ | | f ƒ ‚ qrqrWn t j | ƒ }
t | ƒ t |
ƒ k st ‚ | j ƒ |
j ƒ g } xp| rt j j | ƒ } t j j |
ƒ }
|
| j k r]Pn t j j | j | ƒ } y t j | ƒ } Wn: t k
rÄ} | j t j t j t j f k rk‚ qkn§ Xt j | j! ƒ rùt j t d
ƒ | | f ƒ ‚ nr t j"