comparison hgext/relink.py @ 38672:0f8599afb92f

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
author Martin von Zweigbergk <martinvonz@google.com>
date Wed, 11 Jul 2018 15:01:47 -0700
parents 36edfbac7281
children c303d65d2e34
comparison
equal deleted inserted replaced
38671:99ed6e2f6606 38672:0f8599afb92f