comparison mercurial/context.py @ 3886:abaee83ce0a6

Replace demandload with new demandimport
author Matt Mackall <mpm@selenic.com>
date Wed, 13 Dec 2006 13:27:09 -0600
parents 46abbed02b2d
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 node import * 8 from node import *
9 from i18n import gettext as _ 9 from i18n import gettext as _
10 from demandload import demandload 10 import ancestor, bdiff, repo, revlog, util, os
11 demandload(globals(), "ancestor bdiff repo revlog util os")
12 11
13 class changectx(object): 12 class changectx(object):
14 """A changecontext object makes access to data related to a particular 13 """A changecontext object makes access to data related to a particular
15 changeset convenient.""" 14 changeset convenient."""
16 def __init__(self, repo, changeid=None): 15 def __init__(self, repo, changeid=None):