Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.4rc3, 0.4rc4, and 0.4

tracelog: fix hglib import issue

use hglib.toutf() to handle UTF-8 messages, if it's available.

Changeset 9557254e63ce

Parent d3567aa402ad

by TK Soh

Changes to one file · Browse files at 9557254e63ce Showing diff from parent d3567aa402ad Diff from another changeset...

Change 1 of 1 Show Entire File tracelog.py Stacked
 
13
14
15
16
 
 
 
 
 
17
18
19
 
13
14
15
 
16
17
18
19
20
21
22
23
@@ -13,7 +13,11 @@
 import Queue  import win32trace   -from hglib import toutf +try: + from hggtk.hglib import toutf +except ImportError: + def toutf(s): + return s    class TraceLog():   def __init__(self):