comparison hgext/keyword.py @ 36931:28f988093911

rebase: extract function for rebasing a single node We currently have _performrebase() and _performrebasesubset(), but we don't have a method for rebasing a single node (that's inside a loop in _performrebasesubset()). I think it makes sense to have such a method, so that's what this patch does. I think it may simplify future patches I'm working on that have to do with transactions, but I think this patch makes sense on its own whether or not that future work happens. Differential Revision: https://phab.mercurial-scm.org/D2809
author Martin von Zweigbergk <martinvonz@google.com>
date Mon, 12 Mar 2018 10:39:42 -0700
parents 4daa22071d5d
children f0b6fbea00cf
comparison
equal deleted inserted replaced
36930:36de8a3c429c 36931:28f988093911