Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.7, 0.7.1, and 0.7.2

enable demandimport in hgtk

Changeset 0c0c8f3acb87

Parent 315aae10a19e

by Steve Borho

Changes to one file · Browse files at 0c0c8f3acb87 Showing diff from parent 315aae10a19e Diff from another changeset...

Change 1 of 2 Show Entire File contrib/​hgtk Stacked
 
15
16
17
18
19
20
21
22
23
24
 
 
25
26
27
 
34
35
36
 
 
 
 
37
38
39
 
15
16
17
 
 
 
18
19
20
 
21
22
23
24
25
 
32
33
34
35
36
37
38
39
40
41
@@ -15,13 +15,11 @@
 # alternatively, you can change this line or set TORTOISEHG_PATH  tortoisehg_dir = '~/tools/tortoisehg-dev'   -import os -import sys -import traceback  import pygtk  pygtk.require('2.0')  import gtk -import shlex + +from mercurial import demandimport; demandimport.enable()  from mercurial.i18n import _  from mercurial import hg, util, fancyopts, commands, cmdutil  import mercurial.ui as _ui @@ -34,6 +32,10 @@
  from mercurial.cmdutil import UnknownCommand, AmbiguousCommand   from mercurial.dispatch import ParseError   +import os +import sys +import traceback +  nonrepo_commands = 'userconfig clone init about help version'    def dispatch(args):