/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 1887.1.1 19 years ago Adeodato Simó Do not separate paragraphs in the copyright statem 1 KB Diff Download File
autodoc_bash_completion.py 1861.2.8 19 years ago Alexander Belchenko More branding: bazaar-ng -> Bazaar; bazaar-ng.org 1.5 KB Diff Download File
autodoc_man.py 1857.1.19 19 years ago Aaron Bentley Merge bzr.dev 6.3 KB Diff Download File
autodoc_rstx.py 1558.16.5 19 years ago Aaron Bentley Moy: change BZREMAIL to BZR_EMAIL 6.3 KB Diff Download File