/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: 2007-01-10 10:42:08 UTC
  • mto: (2323.7.1 redirection)
  • Revision ID: v.ladeuil+lp@free.fr-20070110104208-m510xzaw55nca20d
Simplify the get wrapping and restrict redirection to bzr branches.

* bzrlib/transport/local.py:
(LocalTransport.get): Really declare the hint parameters or the
deprecation warning make some tests fail (they rely on a specific
output from the command issued, with is, IMHO, bad, but that's not
the problem I try to address now).

* bzrlib/transport/__init__.py:
(_inject_get_with_hints): Deleted.
(_add_hints_to_get.get): Renamed from _check_get_with_hints and
simplified. KISS principle is good, use it.
(register_lazy_transport._loader): Issue a deprecation warning if
needed.
(Transport.create_get_hints): Usage is to use the name 'klass' for
class methods.

* bzrlib/bzrdir.py:
(BzrDirFormat.probe_transport): Leave that one alone.
(BzrDirMetaFormat1.probe_transport): New method so that
redirection is applied to bzr branches only.
Filename Latest Rev Last Changed Committer Comment Size
..
__init__.py 2024.2.3 19 years ago John Arbash Meinel Move out export tests from test_too_much, refactor 4.8 KB Diff Download File
dir_exporter.py 1852.6.10 19 years ago Robert Collins Merge bzr.dev. 1.5 KB Diff Download File
tar_exporter.py 1852.6.6 19 years ago Robert Collins Finish updating iter_entries change to make all te 1.9 KB Diff Download File
zip_exporter.py 2024.2.8 19 years ago John Arbash Meinel paths are always forward slashed for python zipfil 3.3 KB Diff Download File