Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0.3, 2.0.4, and 2.0.5

stable bugreport: convert displayed text to local before save (fixes #346)

Changeset bf642fd8d5c3

Parent 5d8da9e07ef2

by Steve Borho

Changes to one file · Browse files at bf642fd8d5c3 Showing diff from parent 5d8da9e07ef2 Diff from another changeset...

 
95
96
97
98
 
99
100
101
 
95
96
97
 
98
99
100
101
@@ -95,7 +95,7 @@
  os.path.join(os.getcwd(), 'bugreport.txt'),   _('Text files (*.txt)'))   if fname: - open(fname, 'wb').write(self.text) + open(fname, 'wb').write(hglib.fromunicode(self.text))   except (EnvironmentError), e:   QMessageBox.critical(self, _('Error writing file'), str(e))