/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
..
__init__.py 1821.1.1 19 years ago Alexander Belchenko win32 installer for bzr.dev.0.9 51 bytes Diff Download File
bazaar.url 1821.1.1 19 years ago Alexander Belchenko win32 installer for bzr.dev.0.9 109 bytes Diff Download File
bzr-win32-bdist-postinstall.py 2184.1.1 19 years ago Alexander Belchenko Bugfix #71681: python-based installer postinstall 4.9 KB Diff Download File
bzr.iss.cog 2231.1.1 18 years ago Alexander Belchenko Python 2.5 fixes for win32 installer 3.6 KB Diff Download File
bzr_postinstall.py 1821.1.1 19 years ago Alexander Belchenko win32 installer for bzr.dev.0.9 9 KB Diff Download File
file_version.py 1821.1.1 19 years ago Alexander Belchenko win32 installer for bzr.dev.0.9 909 bytes Diff Download File
info.txt 2070.2.2 19 years ago Alexander Belchenko win32 installer: make short info page instead of f 238 bytes Diff Download File
ostools.py 1861.2.18 19 years ago Alexander Belchenko Makefile: cross-platform actions for building inst 1.8 KB Diff Download File
start_bzr.bat 1861.2.6 19 years ago Alexander Belchenko branding: change Bazaar-NG to Bazaar 960 bytes Diff Download File