Mercurial > hg
changeset 38769:e252f136b948
amend: use ctx1.status(ctx2) instead of repo.status(ctx1, ctx2)
Differential Revision: https://phab.mercurial-scm.org/D3996
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 27 Jul 2018 14:49:45 -0700 |
parents | afc4ad706f9c |
children | 260c17eaf3f7 |
files | mercurial/cmdutil.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/cmdutil.py Thu Jul 19 23:22:05 2018 -0700 +++ b/mercurial/cmdutil.py Fri Jul 27 14:49:45 2018 -0700 @@ -2428,7 +2428,7 @@ if len(old.parents()) > 1: # ctx.files() isn't reliable for merges, so fall back to the # slower repo.status() method - files = set([fn for st in repo.status(base, old)[:3] + files = set([fn for st in base.status(old)[:3] for fn in st]) else: files = set(old.files())