Mercurial > public > mercurial-scm > hg-stable
diff mercurial/changegroup.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 | 1db5ae4b0dda |
children | 5f9d057ba28c |
line wrap: on
line diff
--- a/mercurial/changegroup.py Sun Feb 10 14:35:36 2019 -0800 +++ b/mercurial/changegroup.py Sat Feb 09 22:50:53 2019 -0800 @@ -1313,9 +1313,9 @@ assert version in supportedoutgoingversions(repo) if matcher is None: - matcher = matchmod.always(repo.root, '') + matcher = matchmod.always() if oldmatcher is None: - oldmatcher = matchmod.never(repo.root, '') + oldmatcher = matchmod.never() if version == '01' and not matcher.always(): raise error.ProgrammingError('version 01 changegroups do not support '