~bzr-pqm/bzr/bzr.dev

  • Committer: v.ladeuil+lp at free
  • Date: 2006-12-13 17:37:07 UTC
  • mto: (2323.7.1 redirection)
  • Revision ID: v.ladeuil+lp@free.fr-20061213173707-a1gflgoke6b3eboc
First rough http branch redirection implementation.

* bzrlib/transport/http/_urllib2_wrappers.py:
(Request.__init__): Unless told otherwise, redirections are
followed silently.
(HTTPRedirectHandler.http_error_30x): Follow redirection or return
a 30x error.

* bzrlib/transport/http/_urllib.py:
(HttpTransport_urllib._perform): Raises RedirectRequested if the
request requires it.
(HttpTransport_urllib._get): Update the request from the hints
parameter if needed.

* bzrlib/errors.py:
 (RedirectRequested): New TransportError.

* bzrlib/bzrdir.py:
(BzrDir.open_from_transport): Catch RedirectRequested and retry
with the redirected url until we get to the final destination.
(BzrDirFormat.probe_transport): Hints get to not follow the
redirections but instead tell us where this branch is redirected.

* bzrlib/transport/smart.py:
(SmartTransport.get): Add a 'hint' parameter.

* bzrlib/transport/sftp.py:
(SFTPTransport.get): Add a 'hint' parameter.

* bzrlib/transport/memory.py:
(MemoryTransport.get): Add a 'hint' parameter.

* bzrlib/transport/local.py:
(LocalTransport.get): Add a 'hint' parameter.

* bzrlib/transport/http/_pycurl.py:
(PyCurlTransport._get): Add a 'hint' parameter and pass it to
_get_full.

* bzrlib/transport/http/__init__.py:
(HttpTransportBase.get): Add a 'hint' parameter and pass
it to _get.

* bzrlib/transport/ftp.py:
(FtpTransport.get): Add a 'hint' parameter.

* bzrlib/transport/fakevfat.py:
(FakeVFATTransportDecorator.get): Add a 'hint' parameter and pass
it to the decorated transport.

* bzrlib/transport/decorator.py:
(TransportDecorator.get): Add a 'hint' parameter and pass it to the
decorated transport.

* bzrlib/transport/chroot.py:
(ChrootTransportDecorator.get): Add a 'hint' parameter. Delete a
duplicated definition of the method.

* bzrlib/transport/__init__.py:
(Transport.get): Add a 'hint' parameter.
(TransportLogger.get): Add a 'hint' parameter and pass it to the
        
Filename Latest Rev Last Changed Committer Comment Size
..
bazaar-vcs.org.kid 2054.2.16 17 years ago Aaron Bentley More updates from review comments 18.3 KB Diff Download File
centralized_workflow.txt 2098.2.4 17 years ago John Arbash Meinel Include a table-of-contents. 11.5 KB Diff Download File
configuration.txt 2135.1.1 17 years ago Matthew Fuller Correct statement about the precedence of $EDITOR, 4.4 KB Diff Download File
default.css 1551.8.18 18 years ago Aaron Bentley Tweak font settings in stylesheet 1.7 KB Diff Download File
http_smart_server.txt 2018.4.5 17 years ago Andrew Bennetts Improvement thanks to John's review. 4.3 KB Diff Download File
index.txt 2018.4.1 17 years ago Andrew Bennetts Add WSGI smart server. 1.5 KB Diff Download File
plugins.txt 1861.2.6 18 years ago Alexander Belchenko branding: change Bazaar-NG to Bazaar 3 KB Diff Download File
README.1st 1861.2.6 18 years ago Alexander Belchenko branding: change Bazaar-NG to Bazaar 904 bytes Diff Download File
server.txt 2018.1.10 17 years ago Andrew Bennetts Merge --allow-writes from Robert 2.6 KB Diff Download File
setting_up_email.txt 1861.2.6 18 years ago Alexander Belchenko branding: change Bazaar-NG to Bazaar 3.4 KB Diff Download File
specifying_revisions.txt 2070.4.3 17 years ago John Arbash Meinel code and doc cleanup 4.2 KB Diff Download File
tutorial.txt 2135.1.2 17 years ago Matthew Fuller Mention $VISUAL here, and play with the wording of 19.7 KB Diff Download File
using_aliases.txt 1861.2.6 18 years ago Alexander Belchenko branding: change Bazaar-NG to Bazaar 1.8 KB Diff Download File
version_info.txt 2022.1.7 17 years ago John Arbash Meinel Add NEWS and a simple doc for using bzr version-in 2.1 KB Diff Download File