Mercurial > hg-stable
comparison mercurial/commands.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 | ce4e67533723 |
comparison
equal
deleted
inserted
replaced
5192:60acf1432ee0 | 5193: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() | |
9 from node import * | 8 from node import * |
10 from i18n import _ | 9 from i18n import _ |
11 import os, re, sys, urllib | 10 import os, re, sys, urllib |
12 import hg, util, revlog, bundlerepo, extensions | 11 import hg, util, revlog, bundlerepo, extensions |
13 import difflib, patch, time, help, mdiff, tempfile | 12 import difflib, patch, time, help, mdiff, tempfile |