equal
deleted
inserted
replaced
1 # lock.py - simple locking scheme for mercurial |
1 # lock.py - simple locking scheme for mercurial |
2 # |
2 # |
3 # Copyright 2005, 2006 Matt Mackall <mpm@selenic.com> |
3 # Copyright 2005, 2006 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 of the |
6 # of the GNU General Public License, incorporated herein by reference. |
6 # GNU General Public License version 2, incorporated herein by reference. |
7 |
7 |
8 import errno, os, socket, time, util, error |
8 import errno, os, socket, time, util, error |
9 import warnings |
9 import warnings |
10 |
10 |
11 class lock(object): |
11 class lock(object): |