Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.9, 0.9.1, and 0.9.1.1

stable rename: fix error dialogs

Changeset 5c0009dcbded

Parent ec85da5926c0

by Steve Borho

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

 
68
69
70
71
 
72
73
74
75
76
77
78
 
79
80
 
68
69
70
 
71
72
73
74
75
76
77
 
78
79
80
@@ -68,13 +68,13 @@
  commands.rename(repo.ui, repo, dlg.orig, new_name, **opts)   toquit = True   except (OSError, util.Abort, hglib.RepoError), inst: - dlg.error_dialog(None, _('rename error'), str(inst)) + dialog.error_dialog(None, _('rename error'), str(inst))   toquit = False   finally:   sys.stderr = saved   textout = errors.getvalue() + repo.ui.popbuffer()   errors.close()   if len(textout) > 1: - dlg.error_dialog(None, _('rename error'), textout) + dialog.error_dialog(None, _('rename error'), textout)   elif toquit:   dlg.destroy()