Mercurial > public > mercurial-scm > hg-stable
diff mercurial/revset.py @ 41687:0531dff73d0b
match: delete unused root and cwd arguments from {always,never,exact}() (API)
Differential Revision: https://phab.mercurial-scm.org/D5930
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Sat, 09 Feb 2019 22:50:53 -0800 |
parents | 13f7a6a4f0db |
children | 8185c8abce87 |
line wrap: on
line diff
--- a/mercurial/revset.py Sun Feb 10 14:35:36 2019 -0800 +++ b/mercurial/revset.py Sat Feb 09 22:50:53 2019 -0800 @@ -2073,7 +2073,7 @@ if len(args) != 0: pat = getstring(args[0], _("subrepo requires a pattern")) - m = matchmod.exact(repo.root, repo.root, ['.hgsubstate']) + m = matchmod.exact(['.hgsubstate']) def submatches(names): k, p, m = stringutil.stringmatcher(pat)