~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/lock.py

  • Committer: Martin Pool
  • Date: 2006-03-03 07:31:24 UTC
  • mto: This revision was merged to the branch mainline in revision 1593.
  • Revision ID: mbp@sourcefrog.net-20060303073124-c0741f11f36d7236
doc

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
"""Locking using OS file locks or file existence.
19
19
 
20
 
Note: This method of locking is deprecated in favour of LockDir, but is
21
 
used by some old formats.  It's accessed through Transport.lock_read(),
22
 
etc.
 
20
Note: This method of locking is generally deprecated in favour of LockDir, but
 
21
is used to lock local WorkingTrees, and by some old formats.  It's accessed
 
22
through Transport.lock_read(), etc.
23
23
 
24
24
This module causes two methods, lock() and unlock() to be defined in
25
25
any way that works on the current platform.