/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

  • Committer: v.ladeuil+lp at free
  • Date: 2006-12-21 10:28:19 UTC
  • mto: (2323.7.1 redirection)
  • Revision ID: v.ladeuil+lp@free.fr-20061221102819-308frw80r38lluqa
Automates the 'hints' parameter addition to get transport prototypes.

* bzrlib/transport/__init__.py:
(_get_prototype_infos, _build_arglist, _inject_get_with_hints,
_check_get_with_hints): New methods to ensure the compatibility
with old code while adding a new parameter to the transport.get
method.

* bzrlib/transport/local.py:
(LocalTransport.get): Delete the 'hints' parameter to demonstrate
the solution.

* bzrlib/transport/ftp.py:
(FtpTransport.get): Delete the 'hints' parameter to demonstrate
the solution.

* bzrlib/bzrdir.py:
(BzrDir.open_from_transport): Try to not use magic values. Clean
up transport.follow_redirections uses.

* bzrlib/transport/http/_urllib.py:
(HttpTransport_urllib._get): dict objects already provides a 'get'
with a default value, you silly.

* bzrlib/transport/http/_pycurl.py:
(PyCurlTransport._get_full): Give a default value to the hints
parameter as this is called explicitely without it.

* bzrlib/transport/chroot.py:
(ChrootTransportDecorator.get): Forward the 'hints' parameter.
Filename Latest Rev Last Changed Committer Comment Size
..
__init__.py 2052.3.1 19 years ago John Arbash Meinel Add tests to cleanup the copyright of all source f 10.2 KB Diff Download File
v08.py 2067.3.3 19 years ago Martin Pool merge bzr.dev and reconcile several changes, also 19.1 KB Diff Download File
v09.py 2052.3.2 19 years ago John Arbash Meinel Change Copyright .. by Canonical to Copyright ... 2.4 KB Diff Download File