This instance will be upgraded to Heptapod 0.21.0rc2 on 2021-04-16 at 11:00 UTC+2 (a few minutes of down time)

Commit bbbcaf14 authored by Bram Belpaire's avatar Bram Belpaire

close-branch: fix so correct branch is shown in dialog

parent de5aa9c8cb60
......@@ -46,7 +46,7 @@ class CloseWidget(cmdui.AbstractCmdWidget):
msgset = i18n.keepgettext()._('Close %s branch')
str_msg = msgset['str']
self.hg_commit.setText(pycompat.unicode(str_msg) %
hglib.tounicode(self._repo[None].branch()))
hglib.tounicode(self._repo[self._rev].branch()))
form.addRow(_('Commit message:'), self.hg_commit)
def compose_command(self):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment