Mercurial > public > mercurial-scm > hg
diff hgext/extdiff.py @ 40407:3d76a8e627a6
archive: change "matcnfn" argument to a real matcher
All callers seem to be passing a real matcher, not just a function. We
were also passing it into match.subdirmatcher(), which assumes it is a
matcher.
Differential Revision: https://phab.mercurial-scm.org/D5176
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Tue, 05 Sep 2017 15:21:21 -0700 |
parents | c303d65d2e34 |
children | 151aec6494a8 |
line wrap: on
line diff
--- a/hgext/extdiff.py Mon Oct 22 11:34:35 2018 -0700 +++ b/hgext/extdiff.py Tue Sep 05 15:21:21 2017 -0700 @@ -139,7 +139,7 @@ repo.ui.setconfig("ui", "archivemeta", False) archival.archive(repo, base, node, 'files', - matchfn=scmutil.matchfiles(repo, files), + match=scmutil.matchfiles(repo, files), subrepos=listsubrepos) for fn in sorted(files):