diff hgext/pager.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 03f7db5f8e71
children 2372284d9457
line wrap: on
line diff