lp://qastaging/~bzr/bzr/bzr.get.with.hints
This branch is an attempt to add a parameter to the transport.get method while wrapping existing (but defined outside bzr core) transports to ensure compatibility.
This should be regarded as an experiment and is not intended to merged in core as is.
- Get this branch:
- bzr branch lp://qastaging/~bzr/bzr/bzr.get.with.hints
Branch merges
Branch information
Recent revisions
- 2280. By Vincent Ladeuil
-
Handle pseudo-transports gracefully (do nothing).
* bzrlib/
transport/ __init_ _.py:
(_add_hints_to_get) : Doh. Check that 'get' exists before wrapping
it. - 2279. By Vincent Ladeuil
-
Add an hints kwargs to transport.get methods. Wraps unaware
transports to ensure compatibility.* bzrlib/
tests/test_ transport_ hints.py:
New file.* bzrlib/
tests/_ _init__ .py:
(test_suite): Add test_transport_hints. * bzrlib/
tests/test_ transport. py:
(TestTransportAPI): Test the get compatibility wrapping.* bzrlib/
tests/test_ transport_ implementations .py:
(_append): Deleted. Nobody uses it anymore.* bzrlib/
transport/ __init_ _.py:
(_inject_get_with_ hints): Deleted.
(_add_hints_to_get. get): New method to ensure the compatibility
with old code while adding a new parameter to the transport.get
method.
(register_lazy_transport. _loader) : Issue a deprecation warning if
needed.
(TransportHints, TransportGetHints): New hints classes.
(Transport.create_ get_hints) : New method creating a suitable hints
object.
(Transport.get, TransportLogger.get): Add hints as kwargs. * bzrlib/
transport/ chroot. py:
(ChrootTransportDecorator. get): Add hints as kwargs. * bzrlib/
transport/ decorator. py:
(TransportDecorator.get) : Add hints as kwargs. * bzrlib/
transport/ fakevfat. py:
(FakeVFATTransportDecorator. get): Add hints as kwargs. * bzrlib/
transport/ ftp.py:
(FtpTransport.get): Add hints as kwargs.* bzrlib/
transport/ http/__ init__. py:
(HttpTransportBase.get, HttpTransportBa se._get) : Add hints as kwargs. * bzrlib/
transport/ http/_pycurl. py:
(PyCurlTransport._get) : Add hints as kwargs. * bzrlib/
transport/ http/_urllib. py:
(HttpTransport_urllib. _get): Add hints as kwargs. * bzrlib/
transport/ local.py:
(LocalTransport.get): Add hints as kwargs. * bzrlib/
transport/ memory. py:
(MemoryTransport.get): Add hints as kwargs. * bzrlib/
transport/ sftp.py:
(SFTPTransport.get): Add hints as kwargs. * bzrlib/
transport/ smart.py:
(SmartTransport.get): Add hints as kwargs. * bzrlib/errors.py:
(UnknownHint): New exception class. - 2278. By Canonical.com Patch Queue Manager<email address hidden>
-
(John Arbash Meinel) restrict GPGStrategy.sign() to 8-bit strings
- 2277. By Canonical.com Patch Queue Manager<email address hidden>
-
(John Arbash Meinel) NEWS update (trivial)
- 2275. By Canonical.com Patch Queue Manager<email address hidden>
-
(mbp) add lp: urls to plugin (r=john)
- 2274. By Canonical.com Patch Queue Manager<email address hidden>
-
(robertc) 4 new branch hooks: post_push, post_pull, post_commit, post_uncommit, and fix the inability to do a bzr pull --overwrite of a heavyweight checkout.
- 2273. By Canonical.com Patch Queue Manager<email address hidden>
-
(James Westby, Aaron Bentley) Improve documentation for checkouts
- 2272. By Canonical.com Patch Queue Manager<email address hidden>
-
Use a Registry for merge-type options
- 2271. By Canonical.com Patch Queue Manager<email address hidden>
-
(John Arbash Meinel) allow 'bzr push' to resume an interrupted push, and push into an existing directory (#30576, #45504)