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