# HG changeset patch # User Martin von Zweigbergk # Date 1532555236 25200 # Node ID 05cb942cb9b97e81c8ea0f4d0e32031f6be40ed5 # Parent 9a6a767bef9d521ff20bfa2faeac5d9029665d81 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. diff -r 9a6a767bef9d -r 05cb942cb9b9 hgext3rd/evolve/utility.py --- 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: