/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 1.3 KB Diff Download File
branch.txt 1996.3.18 19 years ago John Arbash Meinel Now that mkdtemp and rmtree are lazy, they should 988 bytes Diff Download File
transport.txt 1711.7.23 19 years ago John Arbash Meinel The api doc tests were using invalid paths on win3 769 bytes Diff Download File