From patchwork Sat Feb 9 22:16:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D5920: remotefilelog: replace matchandpats() by match() From: phabricator X-Patchwork-Id: 38610 Message-Id: <0073b8a0993e473e8f79ee5369b0b844@localhost.localdomain> To: mercurial-devel@mercurial-scm.org Date: Sat, 9 Feb 2019 22:16:32 +0000 This revision was automatically updated to reflect the committed changes. Closed by commit rHG62bf34f70fe8: remotefilelog: replace matchandpats() by match() (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5920?vs=13947&id=13964 REVISION DETAIL https://phab.mercurial-scm.org/D5920 AFFECTED FILES hgext/remotefilelog/__init__.py CHANGE DETAILS To: martinvonz, #hg-reviewers, pulkit Cc: mercurial-devel diff --git a/hgext/remotefilelog/__init__.py b/hgext/remotefilelog/__init__.py --- a/hgext/remotefilelog/__init__.py +++ b/hgext/remotefilelog/__init__.py @@ -902,8 +902,7 @@ # If this is a non-follow log without any revs specified, recommend that # the user add -f to speed it up. if not follow and not revs: - match, pats = scmutil.matchandpats(repo['.'], pats, - pycompat.byteskwargs(opts)) + match = scmutil.match(repo['.'], pats, pycompat.byteskwargs(opts)) isfile = not match.anypats() if isfile: for file in match.files():