fix: use ctx1.status(ctx2) instead of repo.status(ctx1, ctx2)
Differential Revision: https://phab.mercurial-scm.org/D3997
--- 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)))