Changeset f3832cb8f56a…
Parent c38325724c18…
by
Changes to one file · Browse files at f3832cb8f56a Showing diff from parent c38325724c18 Diff from another changeset...
@@ -248,7 +248,7 @@ rev = hglib.fromunicode(self.rev_text.text())
force = self.replace_chk.isChecked()
english = self.eng_chk.isChecked()
- message = hglib.fromunicode(self.custom_text.text())
+ message = self.custom_text.text()
try:
# tagging
@@ -260,6 +260,8 @@ msgset = keep._('Added tag %s for changeset %s')
message = (english and msgset['id'] or msgset['str']) \
% (name, str(ctx))
+ if not isinstance(message, str):
+ message = hglib.fromunicode(message)
self.repo.tag(lname, node, message, local, None, None)
# update UI
|
Loading...