# HG changeset patch # User Martin von Zweigbergk # Date 2018-07-27 21:48:06 # Node ID af5c0c933af804a07c8eae9635be4089abfa67e4 # Parent 3bd22c4d37112c835e1e8ef4d9fcec89db3c6351 fileset: use ctx1.status(ctx2) instead of repo.status(ctx1, ctx2) Differential Revision: https://phab.mercurial-scm.org/D3999 diff --git a/mercurial/fileset.py b/mercurial/fileset.py --- a/mercurial/fileset.py +++ b/mercurial/fileset.py @@ -647,11 +647,10 @@ def _buildstatus(ctx, tree, basectx=None unknown = _intree(['unknown'], tree) ignored = _intree(['ignored'], tree) - r = ctx.repo() if basectx is None: basectx = ctx.p1() - return r.status(basectx, ctx, - unknown=unknown, ignored=ignored, clean=True) + return basectx.status(ctx, listunknown=unknown, listignored=ignored, + listclean=True) else: return None