/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-02-04 17:41:12 UTC
  • mto: (2323.7.1 redirection)
  • Revision ID: v.ladeuil+lp@free.fr-20070204174112-iv6gxzinnjddlaxj
Add tests for redirection. Preserve transport decorations.

* bzrlib/tests/test_http.py:
(TestRedirections): new tests.

* bzrlib/tests/HttpServer.py:
(HttpServer): Make server host and port public once the socket
have been established.

* bzrlib/tests/HTTPTestUtil.py:
(RedirectRequestHandler, HTTPServerRedirecting): New http test
server for redirections. Only a whole host can be redirected, so
far.

* bzrlib/errors.py:
(RedirectRequested.__init__): Add a 'qual_proto' oso that
transport decorations can be transmitted to redirected transport.
(RedirectRequested._requalify_url,
RedirectRequested.get_source_url,
RedirectRequested.get_target_url): New methods providing fully
decorated urls.

* bzrlib/bzrdir.py:
(BzrDir.open_from_transport): The redirection should preserve
transport decorations.
(BzrDirMetaFormat1): To be able to specialize bzr branches from
foreign branches, we need to register BzrDirMetaFormat1 as the
default control format (instead of BzrDirMetaFormat which is
abstract and can still be used by foreign branches).

Filename Latest Rev Last Changed Committer Comment Size
..
http 1540.3.3 19 years ago Martin Pool Review updates of pycurl transport Split them out Diff
__init__.py 2164.2.11 18 years ago Vincent Ladeuil Explicit tests. * bzrlib/transport/__init__.py: ( 50.2 KB Diff Download File
chroot.py 2164.2.11 18 years ago Vincent Ladeuil Explicit tests. * bzrlib/transport/__init__.py: ( 4.8 KB Diff Download File
decorator.py 2164.2.5 18 years ago v.ladeuil+lp at free Simpler implementation using inspect. 'hints' is a 6.8 KB Diff Download File
fakenfs.py 1887.1.1 19 years ago Adeodato Simó Do not separate paragraphs in the copyright statem 2.3 KB Diff Download File
fakevfat.py 2164.2.5 18 years ago v.ladeuil+lp at free Simpler implementation using inspect. 'hints' is a 3.7 KB Diff Download File
ftp.py 2164.2.11 18 years ago Vincent Ladeuil Explicit tests. * bzrlib/transport/__init__.py: ( 26.5 KB Diff Download File
local.py 2164.2.9 18 years ago v.ladeuil+lp at free Simplify the get wrapping and restrict redirection 17.6 KB Diff Download File
memory.py 2164.2.5 18 years ago v.ladeuil+lp at free Simpler implementation using inspect. 'hints' is a 9.8 KB Diff Download File
readonly.py 1955.3.15 19 years ago John Arbash Meinel Deprecate 'Transport.append' in favor of Transport 2.9 KB Diff Download File
sftp.py 2164.2.5 18 years ago v.ladeuil+lp at free Simpler implementation using inspect. 'hints' is a 46.8 KB Diff Download File
smart.py 2164.2.5 18 years ago v.ladeuil+lp at free Simpler implementation using inspect. 'hints' is a 67.1 KB Diff Download File
ssh.py 1551.9.2 19 years ago Aaron Bentley Bugfix for paramiko connections 18.9 KB Diff Download File