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

stable bugreport: include encoding value in report text

It's useful for debugging unicode issues.

Changeset b4e3d9ebd345

Parent 8574a69622d3

by Yuya Nishihara

Changes to one file · Browse files at b4e3d9ebd345 Showing diff from parent 8574a69622d3 Diff from another changeset...

 
8
9
10
11
 
12
13
14
 
58
59
60
 
61
62
63
 
8
9
10
 
11
12
13
14
 
58
59
60
61
62
63
64
@@ -8,7 +8,7 @@
 import os  import sys   -from mercurial import extensions +from mercurial import encoding, extensions  from tortoisehg.util import hglib, version  from tortoisehg.hgqt.i18n import _   @@ -58,6 +58,7 @@
  hglib.hgversion, version.version())   text += '** Command: %s\n' % (hglib.tounicode(opts.get('cmd', 'N/A')))   text += '** CWD: %s\n' % hglib.tounicode(os.getcwd()) + text += '** Encoding: %s\n' % encoding.encoding   extlist = [x[0] for x in extensions.extensions()]   text += '** Extensions loaded: %s\n' % ', '.join(extlist)   text += '** Python version: %s\n' % sys.version.replace('\n', '')