Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.1, 2.1.1, and 2.1.2

bugreport: add missing import of qtlib

Changeset 1c9748c2e6da

Parent 6b483bab060c

by Steve Borho

Changes to one file · Browse files at 1c9748c2e6da Showing diff from parent 6b483bab060c Diff from another changeset...

 
164
165
166
 
167
168
169
170
171
172
173
 
174
175
176
 
164
165
166
167
168
169
170
171
172
173
 
174
175
176
177
@@ -164,13 +164,14 @@
  # A chicken-egg problem here, we need a ui to get your   # editor in order to repair your ui config file.   from mercurial import ui as uimod + from tortoisehg.hgqt import qtlib   class FakeRepo(object):   def __init__(self):   self.root = os.getcwd()   self.ui = uimod.ui()   fake = FakeRepo()   qtlib.editfiles(fake, [fname], lineno, parent=self) - except: + except Exception, e:   QDesktopServices.openUrl(QUrl.fromLocalFile(fname))    def run(ui, *pats, **opts):