~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 3878.4.4.

  • Committer: Vincent Ladeuil
  • Date: 2008-12-04 15:53:40 UTC
  • mto: (3902.1.1 bzr.integration)
  • mto: This revision was merged to the branch mainline in revision 3903.
  • Revision ID: v.ladeuil+lp@free.fr-20081204155340-atj2k9w0cbcuob2k
Cleanup.

* bzrlib/transport/http/_urllib.py:
(HttpTransport_urllib._perform): Update RedirectRequested creation.

* bzrlib/transport/http/_pycurl.py:
(PyCurlTransport._curl_perform): Update RedirectRequested creation.

* bzrlib/tests/blackbox/test_push.py:
(RedirectingMemoryTransport.mkdir): RedirectRequested wants urls
not paths. Be more precise with the paths used too.
(TestPushRedirect.test_push_redirects_on_mkdir,
TestPushRedirect.test_push_gracefully_handles_too_many_redirects):
Use '-d' instead of chdir().

* bzrlib/push.py:
(_show_push_branch.redirected): Updated and note() added (why
wasn't it there in the first place ?).

* bzrlib/errors.py:
(RedirectRequested): Simplified now that the redirection stuff is
handled by the transport itself.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: