1. TortoiseHg
  2. TortoiseHg
  3. thg

Commits

Steve Borho  committed 7339130

commit: exceptions must be converted to str before conversion to utf8

Closes #1542

  • Participants
  • Parent commits 7befa96
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgtk/commit.py

View file
  • Ignore whitespace
             os.chdir(repo.root)
             self.hg_commit(files, finish)
         except Exception, e:
-            gdialog.Prompt(_('Commit failed'), hglib.toutf(e), self).run()
+            gdialog.Prompt(_('Commit failed'), hglib.toutf(str(e)), self).run()
             finish(1)