comparison hgext/rebase.py @ 41365:876494fd967d

cleanup: delete lots of unused local variables These were found by IntelliJ. There are many more, but these seemed pretty safe. Differential Revision: https://phab.mercurial-scm.org/D5629
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 17 Jan 2019 09:17:12 -0800
parents 6acbe86c6490
children 0f64091cc851
comparison
equal deleted inserted replaced
41364:0132221c25cd 41365:876494fd967d
1802 nodechanges = fd(changes, key="oldnode", value="newnodes") 1802 nodechanges = fd(changes, key="oldnode", value="newnodes")
1803 fm.data(nodechanges=nodechanges) 1803 fm.data(nodechanges=nodechanges)
1804 1804
1805 def pullrebase(orig, ui, repo, *args, **opts): 1805 def pullrebase(orig, ui, repo, *args, **opts):
1806 'Call rebase after pull if the latter has been invoked with --rebase' 1806 'Call rebase after pull if the latter has been invoked with --rebase'
1807 ret = None
1808 if opts.get(r'rebase'): 1807 if opts.get(r'rebase'):
1809 if ui.configbool('commands', 'rebase.requiredest'): 1808 if ui.configbool('commands', 'rebase.requiredest'):
1810 msg = _('rebase destination required by configuration') 1809 msg = _('rebase destination required by configuration')
1811 hint = _('use hg pull followed by hg rebase -d DEST') 1810 hint = _('use hg pull followed by hg rebase -d DEST')
1812 raise error.Abort(msg, hint=hint) 1811 raise error.Abort(msg, hint=hint)