Show More
@@ -646,7 +646,6 b' def locate(ui, repo, *pats, **opts):' | |||||
646 | '|'.join([fnmatch.translate(os.path.normpath(os.path.normcase(p)))[:-1] |
|
646 | '|'.join([fnmatch.translate(os.path.normpath(os.path.normcase(p)))[:-1] | |
647 | for p in pats]), |
|
647 | for p in pats]), | |
648 | tail) |
|
648 | tail) | |
649 | print regexp |
|
|||
650 | return re.compile(regexp) |
|
649 | return re.compile(regexp) | |
651 | exclude = compile(opts['exclude'], on_empty = False) |
|
650 | exclude = compile(opts['exclude'], on_empty = False) | |
652 | include = compile(opts['include']) |
|
651 | include = compile(opts['include']) |
General Comments 0
You need to be logged in to leave comments.
Login now