98
106
tmp_fileno, msgfilename = tempfile.mkstemp(prefix='bzr_log.', dir=u'.')
99
107
msgfile = os.close(tmp_fileno)
100
114
if infotext is not None and infotext != "":
103
119
msgfile.write("\n\n%s\n\n%s" % (ignoreline,
104
120
infotext.encode(bzrlib.user_encoding, 'replace')))
109
127
if not _run_editor(msgfilename):