# HG changeset patch # User Vadim Gelfer # Date 2006-03-05 09:37:28 # Node ID cd5c1db2132a2c9a3b28cba6fb909dab4619c321 # Parent bdfb524d728af0427d930795a8ae852a3e4e8f0e make lock module use demandload. diff --git a/mercurial/lock.py b/mercurial/lock.py --- a/mercurial/lock.py +++ b/mercurial/lock.py @@ -5,8 +5,8 @@ # This software may be used and distributed according to the terms # of the GNU General Public License, incorporated herein by reference. -import errno, os, time -import util +from demandload import * +demandload(globals(), 'errno os time util') class LockException(Exception): pass