~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/memory.py

  • Committer: Robert Collins
  • Date: 2006-04-03 23:44:36 UTC
  • mfrom: (1558.10.2 nfslocks)
  • mto: This revision was merged to the branch mainline in revision 1635.
  • Revision ID: robertc@robertcollins.net-20060403234436-466c7aadf509e8ca
Merge NFS LockDir support (Aaron Bentley, Robert Collins).

This also introduces a general Transport Decorator in
bzrlib.transport.decorator which can be used to modify the external
behaviour of transports with a small amount of code. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
from bzrlib.errors import TransportError, NoSuchFile, FileExists, LockError
32
32
from bzrlib.transport import Transport, register_transport, Server
33
33
 
 
34
 
34
35
class MemoryStat(object):
35
36
 
36
37
    def __init__(self, size, is_dir, perms):