comparison mercurial/dispatch.py @ 5190:da1658d63647

Move enabling of demandimport to dispatch.py This avoids loading many modules before enabling demandimport.
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Fri, 17 Aug 2007 17:33:27 -0300
parents 60acf1432ee0
children 74650bcacc09
comparison
equal deleted inserted replaced
5189:60acf1432ee0 5190:da1658d63647
3 # Copyright 2005-2007 Matt Mackall <mpm@selenic.com> 3 # Copyright 2005-2007 Matt Mackall <mpm@selenic.com>
4 # 4 #
5 # This software may be used and distributed according to the terms 5 # This software may be used and distributed according to the terms
6 # of the GNU General Public License, incorporated herein by reference. 6 # of the GNU General Public License, incorporated herein by reference.
7 7
8 import demandimport; demandimport.enable()
8 from node import * 9 from node import *
9 from i18n import _ 10 from i18n import _
10 import os, sys, atexit, signal, pdb, traceback, socket, errno, shlex, time 11 import os, sys, atexit, signal, pdb, traceback, socket, errno, shlex, time
11 import util, commands, hg, lock, fancyopts, revlog, version, extensions, hook 12 import util, commands, hg, lock, fancyopts, revlog, version, extensions, hook
12 import cmdutil 13 import cmdutil