Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

tag: convert commit message from unicode to local string

Changeset f3832cb8f56a

Parent c38325724c18

by Yuki KODAMA

Changes to one file · Browse files at f3832cb8f56a Showing diff from parent c38325724c18 Diff from another changeset...

 
248
249
250
251
 
252
253
254
 
260
261
262
 
 
263
264
265
 
248
249
250
 
251
252
253
254
 
260
261
262
263
264
265
266
267
@@ -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