diff hgext/share.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 0fe7e39dc683
children c303d65d2e34
line wrap: on
line diff