changeset 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 e252f136b948
children 3bd22c4d3711
files hgext/fix.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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)))