Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8, 0.8.1, and 0.8.2

bugreport: list loaded extensions in error reports

Borrowed this idea from hg, seems a good one.

Changeset 104c53fc0b61

Parent 950f8132b2a4

by Steve Borho

Changes to one file · Browse files at 104c53fc0b61 Showing diff from parent 950f8132b2a4 Diff from another changeset...

 
7
8
9
 
10
11
12
 
49
50
51
 
 
52
53
54
 
7
8
9
10
11
12
13
 
50
51
52
53
54
55
56
57
@@ -7,6 +7,7 @@
 import gtk  import pango  from mercurial.i18n import _ +from mercurial import extensions  from hglib import toutf, fromutf, rootpath, diffexpand  from gdialog import GDialog  from dialog import entry_dialog @@ -49,6 +50,8 @@
  text += _('Mercurial version (%s). TortoiseHg version (%s)\n') % (   hgversion, shlib.version())   text += _('Command: %s\n') % (self.opts['cmd']) + extlist = [x[0] for x in extensions.extensions()] + text += _('** Extensions loaded: %s\n') % ', '.join(extlist)   text += self.opts['error']   textview.get_buffer().set_text(text)   return vbox