Mercurial > public > mercurial-scm > hg
diff hgext/fix.py @ 38770:260c17eaf3f7
fix: use ctx1.status(ctx2) instead of repo.status(ctx1, ctx2)
Differential Revision: https://phab.mercurial-scm.org/D3997
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 27 Jul 2018 14:46:59 -0700 |
parents | f068495a1c28 |
children | 64535d43c103 |
line wrap: on
line diff
--- a/hgext/fix.py Fri Jul 27 14:49:45 2018 -0700 +++ b/hgext/fix.py Fri Jul 27 14:46:59 2018 -0700 @@ -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)))