Mercurial > hg
changeset 36771:f7e3fe95b663
rebase: delete obsolete internal "keepopen" option
The option was apparently introduced for use by the "pbranch"
extension, see f2558a8228be (rebase: add option to not commit after a
collapsing, 2010-02-07). However, it doesn't seem like it was ever
used by that extension (according to `hg grep` in a clone of
https://bitbucket.org/parren/hg-pbranch/), so let's delete it.
Differential Revision: https://phab.mercurial-scm.org/D2708
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Wed, 07 Mar 2018 10:31:01 -0800 |
parents | a5891e94bfe1 |
children | 0f3116c08e65 |
files | hgext/rebase.py |
diffstat | 1 files changed, 1 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/rebase.py Sun Mar 04 00:25:58 2018 +0530 +++ b/hgext/rebase.py Wed Mar 07 10:31:01 2018 -0800 @@ -174,9 +174,6 @@ self.keepf = opts.get('keep', False) self.keepbranchesf = opts.get('keepbranches', False) - # keepopen is not meant for use on the command line, but by - # other extensions - self.keepopen = opts.get('keepopen', False) self.obsoletenotrebased = {} self.obsoletewithoutsuccessorindestination = set() self.inmemory = inmemory @@ -551,7 +548,7 @@ repo, ui, opts = self.repo, self.ui, self.opts fm = ui.formatter('rebase', opts) fm.startitem() - if self.collapsef and not self.keepopen: + if self.collapsef: p1, p2, _base = defineparents(repo, min(self.state), self.destmap, self.state, self.skipped, self.obsoletenotrebased)