Show More
@@ -684,7 +684,7 b' def locate(ui, repo, *pats, **opts):' | |||||
684 | return re.compile(regexp) |
|
684 | return re.compile(regexp) | |
685 | exclude = compile(opts['exclude'], on_empty=False) |
|
685 | exclude = compile(opts['exclude'], on_empty=False) | |
686 | include = compile(opts['include']) |
|
686 | include = compile(opts['include']) | |
687 |
pat = compile( |
|
687 | pat = compile(pats, head='', tail='$') | |
688 | end = opts['print0'] and '\0' or '\n' |
|
688 | end = opts['print0'] and '\0' or '\n' | |
689 | if opts['rev']: |
|
689 | if opts['rev']: | |
690 | node = repo.manifest.lookup(opts['rev']) |
|
690 | node = repo.manifest.lookup(opts['rev']) |
General Comments 0
You need to be logged in to leave comments.
Login now