Mercurial > public > mercurial-scm > hg-stable
diff mercurial/dispatch.py @ 5193: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 |
line wrap: on
line diff
--- a/mercurial/dispatch.py Fri Aug 17 17:33:27 2007 -0300 +++ b/mercurial/dispatch.py Fri Aug 17 17:33:27 2007 -0300 @@ -5,6 +5,7 @@ # This software may be used and distributed according to the terms # of the GNU General Public License, incorporated herein by reference. +import demandimport; demandimport.enable() from node import * from i18n import _ import os, sys, atexit, signal, pdb, traceback, socket, errno, shlex, time