Skip to content
Snippets Groups Projects
Commit 0f8599af authored by Martin von Zweigbergk's avatar Martin von Zweigbergk
Browse files

rebase: avoid converting from nodes to revnums twice

In the case where the node has successors, but none of them is an
ancestor of the destination, we would iterate over the successor nodes
twice, check if they're in the repo and convert them to revnums. I
doubt it's a measureable cost, but it gets simpler this way too.

Differential Revision: https://phab.mercurial-scm.org/D3941
parent 99ed6e2f
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment