Rev 1577: Refactor the FakeNFS support into a TransportDecorator. in /home/robertc/source/baz/nfslocks/

Robert Collins robertc at robertcollins.net
Sun Apr 2 23:42:48 BST 2006


------------------------------------------------------------
revno: 1577
revision-id: robertc at robertcollins.net-20060402224219-d5a818dc987491fe
parent: abentley at panoramicfeedback.com-20060328205312-914ba2c0e85bda7c
committer: Robert Collins <robertc at robertcollins.net>
branch nick: nfslocks
timestamp: Mon 2006-04-03 08:42:19 +1000
message:
  Refactor the FakeNFS support into a TransportDecorator.
   * Move the existing boilerplate ReadOnly decorator logic in to a base class
     'bzrlib.transport.decorator.TransportDecorator.'
   * Do the same to the ReadOnlyServer to create
     'bzrlib.transport.decorator.DecoratorServer'.
   * Use the new decorator support to create a trivial FakeNFSTransportDecorator
     class in bzrlib.transport.fakenfs.
added:
  bzrlib/transport/decorator.py  decorator.py-20060402223305-e913a0f25319ab42
  bzrlib/transport/fakenfs.py    fakenfs.py-20060402223312-0e29c7275aa384dd
modified:
  bzrlib/builtins.py             builtins.py-20050830033751-fc01482b9ca23183
  bzrlib/tests/test_transport.py testtransport.py-20050718175618-e5cdb99f4555ddce
  bzrlib/transport/__init__.py   transport.py-20050711165921-4978aa7ce1285ad5
  bzrlib/transport/memory.py     memory.py-20051016101338-cd008dbdf69f04fc
  bzrlib/transport/readonly.py   readonly.py-20060120032407-66d3166c39ffdc79



More information about the bazaar-commits mailing list