/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 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