D3997: fix: use ctx1.status(ctx2) instead of repo.status(ctx1, ctx2)

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Wed Aug 1 13:08:54 EDT 2018


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

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)))



To: martinvonz, #hg-reviewers
Cc: pulkit, mercurial-devel


More information about the Mercurial-devel mailing list