From patchwork Wed Aug 1 17:08:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D3997: fix: use ctx1.status(ctx2) instead of repo.status(ctx1, ctx2) From: phabricator X-Patchwork-Id: 33020 Message-Id: <654e30d3d32ecd374857d57152156162@localhost.localdomain> To: mercurial-devel@mercurial-scm.org Date: Wed, 1 Aug 2018 17:08:54 +0000 This revision was automatically updated to reflect the committed changes. Closed by commit rHG260c17eaf3f7: fix: use ctx1.status(ctx2) instead of repo.status(ctx1, ctx2) (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3997?vs=9688&id=9708 REVISION DETAIL https://phab.mercurial-scm.org/D3997 AFFECTED FILES hgext/fix.py CHANGE DETAILS To: martinvonz, #hg-reviewers Cc: pulkit, mercurial-devel diff --git a/hgext/fix.py b/hgext/fix.py --- a/hgext/fix.py +++ b/hgext/fix.py @@ -267,8 +267,8 @@ """ files = set() for basectx in basectxs: - stat = repo.status( - basectx, fixctx, match=match, clean=bool(pats), unknown=bool(pats)) + stat = basectx.status(fixctx, match=match, listclean=bool(pats), + listunknown=bool(pats)) files.update( set(itertools.chain(stat.added, stat.modified, stat.clean, stat.unknown)))