Changeset 1c9748c2e6da…
Parent 6b483bab060c…
by
Changes to one file · Browse files at 1c9748c2e6da Showing diff from parent 6b483bab060c Diff from another changeset...
@@ -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):
|
Loading...