~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.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:
1656
1656
        if typestring == "memory":
1657
1657
            from bzrlib.transport.memory import MemoryServer
1658
1658
            return MemoryServer
 
1659
        if typestring == "fakenfs":
 
1660
            from bzrlib.transport.fakenfs import FakeNFSServer
 
1661
            return FakeNFSServer
1659
1662
        msg = "No known transport type %s. Supported types are: sftp\n" %\
1660
1663
            (typestring)
1661
1664
        raise BzrCommandError(msg)