Mercurial > hg
changeset 38772:af5c0c933af8
fileset: use ctx1.status(ctx2) instead of repo.status(ctx1, ctx2)
Differential Revision: https://phab.mercurial-scm.org/D3999
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 27 Jul 2018 14:48:06 -0700 |
parents | 3bd22c4d3711 |
children | 59af0c7d103f |
files | mercurial/fileset.py |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/fileset.py Fri Jul 27 14:47:38 2018 -0700 +++ b/mercurial/fileset.py Fri Jul 27 14:48:06 2018 -0700 @@ -647,11 +647,10 @@ 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