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

run: rename 'THG_HGTK_SPAWN' to 'THG_GUI_SPAWN'

Changeset e65766f45f7e

Parent 7648dbad124a

by Yuki KODAMA

Changes to one file · Browse files at e65766f45f7e Showing diff from parent 7648dbad124a Diff from another changeset...

 
58
59
60
61
 
62
63
64
 
71
72
73
74
 
75
76
77
 
58
59
60
 
61
62
63
64
 
71
72
73
 
74
75
76
77
@@ -58,7 +58,7 @@
   origwdir = os.getcwd()  def portable_fork(ui, opts): - if 'THG_HGTK_SPAWN' in os.environ or ( + if 'THG_GUI_SPAWN' in os.environ or (   not opts.get('fork') and opts.get('nofork')):   return   elif ui.configbool('tortoisehg', 'hgtkfork', None) is not None: @@ -71,7 +71,7 @@
  args = sys.argv   else:   args = [sys.executable] + sys.argv - os.environ['THG_HGTK_SPAWN'] = '1' + os.environ['THG_GUI_SPAWN'] = '1'   cmdline = subprocess.list2cmdline(args)   os.chdir(origwdir)   subprocess.Popen(cmdline,