mercurial/lock.py
changeset 1836 cd5c1db2132a
parent 1787 e431344e604c
child 1877 d314a89fa4f1
equal deleted inserted replaced
1835:bdfb524d728a 1836:cd5c1db2132a
     3 # Copyright 2005 Matt Mackall <mpm@selenic.com>
     3 # Copyright 2005 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 errno, os, time
     8 from demandload import *
     9 import util
     9 demandload(globals(), 'errno os time util')
    10 
    10 
    11 class LockException(Exception):
    11 class LockException(Exception):
    12     pass
    12     pass
    13 class LockHeld(LockException):
    13 class LockHeld(LockException):
    14     pass
    14     pass