Show More
@@ -12,6 +12,7 b' import re' | |||||
12 | from .i18n import _ |
|
12 | from .i18n import _ | |
13 | from . import ( |
|
13 | from . import ( | |
14 | error, |
|
14 | error, | |
|
15 | match as matchmod, | |||
15 | merge, |
|
16 | merge, | |
16 | parser, |
|
17 | parser, | |
17 | pycompat, |
|
18 | pycompat, | |
@@ -508,8 +509,6 b' def subrepo(mctx, x):' | |||||
508 | if x: |
|
509 | if x: | |
509 | # i18n: "subrepo" is a keyword |
|
510 | # i18n: "subrepo" is a keyword | |
510 | pat = getstring(x, _("subrepo requires a pattern or no arguments")) |
|
511 | pat = getstring(x, _("subrepo requires a pattern or no arguments")) | |
511 |
|
||||
512 | from . import match as matchmod # avoid circular import issues |
|
|||
513 | fast = not matchmod.patkind(pat) |
|
512 | fast = not matchmod.patkind(pat) | |
514 | if fast: |
|
513 | if fast: | |
515 | def m(s): |
|
514 | def m(s): |
General Comments 0
You need to be logged in to leave comments.
Login now