hg
author John Arbash Meinel <john@arbash-meinel.com>
Thu, 18 May 2006 13:52:55 -0700
changeset 2310 d01eac5968c6
parent 1698 ad4a2eefe4d7
child 3886 abaee83ce0a6
permissions -rwxr-xr-x
demandload: implement __call__ demandload can now load functions and classes, and not just modules. (So if you access foo() rather than just foo.* it still works). demandload still doesn't work for constants.

#!/usr/bin/env python
#
# mercurial - scalable distributed SCM
#
# Copyright 2005, 2006 Matt Mackall <mpm@selenic.com>
#
# This software may be used and distributed according to the terms
# of the GNU General Public License, incorporated herein by reference.

from mercurial import commands

commands.run()