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

wctactions: hook up new settings tool, drop gtools.editor

Changeset 581dccdce09f

Parent 5e5f14416ea6

by Steve Borho

Changes to one file · Browse files at 581dccdce09f Showing diff from parent 5e5f14416ea6 Diff from another changeset...

 
105
106
107
108
109
110
111
 
113
114
115
116
117
 
 
 
118
119
120
 
105
106
107
 
108
109
110
 
112
113
114
 
 
115
116
117
118
119
120
@@ -105,7 +105,6 @@
   def edit(parent, ui, repo, files):   editor = (ui.config('tortoisehg', 'editor') or - ui.config('gtools', 'editor') or   os.environ.get('HGEDITOR') or   ui.config('ui', 'editor') or   os.environ.get('EDITOR', 'vi')) @@ -113,8 +112,9 @@
  res = QtGui.QMessageBox.critical(parent,   _('No visual editor configured'),   _('Please configure a visual editor.')) - #dlg = thgconfig.ConfigDialog(False, focus='tortoisehg.editor') - #dlg.exec_() + from tortoisehg.hgqt.settings import SettingsDialog + dlg = SettingsDialog(False, focus='tortoisehg.editor') + dlg.exec_()   return     files = [util.shellquote(util.localpath(f)) for f in files]