Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9.3, 2.0, and 2.0.1

stable hgignore: catch IOErrors or OSErrors from atomictempfile.rename()

See stable issue 1759

Changeset ef3e37757b80

Parent 21c9e8586490

by Steve Borho

Changes to one file · Browse files at ef3e37757b80 Showing diff from parent 21c9e8586490 Diff from another changeset...

 
266
267
268
269
 
270
271
272
 
266
267
268
 
269
270
271
272
@@ -266,7 +266,7 @@
  f.rename()   shlib.shell_notify([self.ignorefile])   self.ignoreFilterUpdated.emit() - except IOError, e: + except EnvironmentError, e:   qtlib.WarningMsgBox(_('Unable to write .hgignore file'),   hglib.tounicode(str(e)), parent=self)