Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.9, 1.9.1, and 1.9.2

thg: load win32traceutil if frozen and THGDEBUG is set

Changeset 9f2853379c31

Parent 0673974beb54

by Steve Borho

Changes to one file · Browse files at 9f2853379c31 Showing diff from parent 0673974beb54 Diff from another changeset...

Change 1 of 1 Show Entire File thg Stacked
 
11
12
13
14
 
 
 
 
 
15
16
17
 
11
12
13
 
14
15
16
17
18
19
20
21
@@ -11,7 +11,11 @@
 import os  import sys   -if not hasattr(sys, "frozen"): +if hasattr(sys, "frozen"): + if 'THGDEBUG' in os.environ: + import win32traceutil + print 'starting' +else:   thgpath = os.path.dirname(os.path.realpath(__file__))   testpath = os.path.join(thgpath, 'tortoisehg')   if os.path.isdir(testpath) and thgpath not in sys.path: