-=[ Mr. Bumblebee ]=-
_Indonesia_

Path : /usr/lib/python2.7/dist-packages/mercurial/
File Upload :
Current File : //usr/lib/python2.7/dist-packages/mercurial/ignore.pyc


\,Tc@sYddlmZddlZddlZddlZdadZdZdZ	dS(i(t_Nc	Csidd6dd6dd6}d}g}g}xK|D]C}d|krts^tjdantjd|}|jd	d}n|j}|sq4n|jd
r|dj}y||}Wq4tk
r|j	t
d|q4Xq4n||}xb|jD]T\}}|j|r7|}Pq|j|d
r||t|d}PqqW|j	|q4W||fS(sparse lines (iterable) of .hgignore text, returning a tuple of
    (patterns, parse errors). These patterns should be given to compile()
    to be validated and converted into a match function.srelre:tretregexpsrelglob:tglobt#s((^|[^\\])(\\\\)*)#.*s\1s\#ssyntax:isignoring invalid syntax '%s't:i(
t
_commentreRtcompiletsubtreplacetrstript
startswithtstriptKeyErrortappendRt	iteritemstlen(	tlinestsyntaxestsyntaxtpatternstwarningstlinetstpattrels((s4/usr/lib/python2.7/dist-packages/mercurial/ignore.pyt
ignorepatss<


c	Csi}x|D]}||kr%q
ny_g||<t|}t|\||<}|jx"|D]}|d||fqeWWq
tk
r}||dkr|td||jfqq
Xq
Wg|D]"}||kr|||f^qS(s:return a dict mapping ignore-file-name to list-of-patternss%s: %s
is)skipping unreadable ignore file '%s': %s
(topenRtclosetIOErrorRtstrerror(	troottfilestwarntpatstftfpRtwarningtinst((s4/usr/lib/python2.7/dist-packages/mercurial/ignore.pytreadpats7s 



c	Cst|||}g}x!|D]\}}|j|qW|sItjSytj|dg|}Wn{tjk
rxh|D]\\}}ytj|dg|Wqtjk
r}tjd||dfqXqWnX|S(sreturn matcher covering patterns in 'files'.

    the files parsed for patterns include:
    .hgignore in the repository root
    any additional files specified in the [ui] section of ~/.hgrc

    trailing white space is dropped.
    the escape character is backslash.
    comments start with #.
    empty lines are skipped.

    lines can be of the following formats:

    syntax: regexp # defaults following lines to non-rooted regexps
    syntax: glob   # defaults following lines to non-rooted globs
    re:pattern     # non-rooted regular expression
    glob:pattern   # non-rooted glob
    pattern        # pattern of the current default typets%s: %si(R'textendtutiltnevertmatchtAbort(	RR R!R"tallpatsR#tpatlistt
ignorefuncR&((s4/usr/lib/python2.7/dist-packages/mercurial/ignore.pytignoreKs)(
ti18nRR*R,RtNoneRRR'R1(((s4/usr/lib/python2.7/dist-packages/mercurial/ignore.pyt<module>s	)	

Copyright © 2017 || Recoded By Mr.Bumblebee