Mercurial > evolve
changeset 3900:05cb942cb9b9 stable
builddependencies: don't add dependency on revision outside input set
This was already handled in the single-successor case, but had been
missed in the multiple-successors case.
Note that there seems to be a copy of builddependencies() in the
topics extension. I don't use topics more than I have to, so I'll let
someone else fix that code.
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Wed, 25 Jul 2018 14:47:16 -0700 |
parents | 9a6a767bef9d |
children | f2b8429db565 |
files | hgext3rd/evolve/utility.py |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext3rd/evolve/utility.py Wed Jul 25 15:16:25 2018 -0700 +++ b/hgext3rd/evolve/utility.py Wed Jul 25 14:47:16 2018 -0700 @@ -106,7 +106,9 @@ tset = set() for successorsset in exc.successorssets: for node in successorsset: - tset.add(repo[node].rev()) + succ = repo[node].rev() + if succ in revs: + tset.add(succ) dependencies[r] = tset continue if succ in revs: