D4000: patch: use ctx1.status(ctx2) instead of repo.status(ctx1, ctx2)
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Wed Aug 1 13:09:30 EDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG59af0c7d103f: patch: 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/D4000?vs=9691&id=9712
REVISION DETAIL
https://phab.mercurial-scm.org/D4000
AFFECTED FILES
mercurial/patch.py
CHANGE DETAILS
diff --git a/mercurial/patch.py b/mercurial/patch.py
--- a/mercurial/patch.py
+++ b/mercurial/patch.py
@@ -2326,7 +2326,7 @@
relfiltered = True
if not changes:
- changes = repo.status(ctx1, ctx2, match=match)
+ changes = ctx1.status(ctx2, match=match)
modified, added, removed = changes[:3]
if not modified and not added and not removed:
To: martinvonz, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list