comparison mercurial/manifest.py @ 3886:abaee83ce0a6

Replace demandload with new demandimport
author Matt Mackall <mpm@selenic.com>
date Wed, 13 Dec 2006 13:27:09 -0600
parents f4c9bb4ad7b1
children 6b4127c7d52a
comparison
equal deleted inserted replaced
3885:1e0b94cfba0e 3886:abaee83ce0a6
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 from revlog import * 8 from revlog import *
9 from i18n import gettext as _ 9 from i18n import gettext as _
10 from demandload import * 10 import array, bisect, struct, mdiff
11 demandload(globals(), "array bisect struct")
12 demandload(globals(), "mdiff")
13 11
14 class manifestdict(dict): 12 class manifestdict(dict):
15 def __init__(self, mapping=None, flags=None): 13 def __init__(self, mapping=None, flags=None):
16 if mapping is None: mapping = {} 14 if mapping is None: mapping = {}
17 if flags is None: flags = {} 15 if flags is None: flags = {}