Mercurial > hg
changeset 35739:9eb5c400f488
fileset: move import of match module to top
Actually there was no circular import issue.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 14 Jan 2018 13:28:20 +0900 |
parents | f90f6fd130c1 |
children | 06a757b9e334 |
files | mercurial/fileset.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/fileset.py Sun Jan 14 21:28:12 2018 +0100 +++ b/mercurial/fileset.py Sun Jan 14 13:28:20 2018 +0900 @@ -12,6 +12,7 @@ from .i18n import _ from . import ( error, + match as matchmod, merge, parser, pycompat, @@ -508,8 +509,6 @@ if x: # i18n: "subrepo" is a keyword pat = getstring(x, _("subrepo requires a pattern or no arguments")) - - from . import match as matchmod # avoid circular import issues fast = not matchmod.patkind(pat) if fast: def m(s):