Rev 1978: (vila) allow writable http in /home/pqm/archives/thelove/bzr/+trunk/
Canonical.com Patch Queue Manager
pqm at pqm.ubuntu.com
Thu Aug 31 18:34:45 BST 2006
------------------------------------------------------------
revno: 1978
revision-id: pqm at pqm.ubuntu.com-20060831173444-37bf2e287f47beab
parent: pqm at pqm.ubuntu.com-20060831060638-bfc0303de36a40a8
parent: john at arbash-meinel.com-20060831172522-125e48c70371ad27
committer: Canonical.com Patch Queue Manager<pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Thu 2006-08-31 18:34:44 +0100
message:
(vila) allow writable http
modified:
bzrlib/branch.py branch.py-20050309040759-e4baf4e0d046576e
bzrlib/tests/test_transport_implementations.py test_transport_implementations.py-20051227111451-f97c5c7d5c49fce7
bzrlib/transport/http/__init__.py http_transport.py-20050711212304-506c5fd1059ace96
------------------------------------------------------------
merged: john at arbash-meinel.com-20060831172522-125e48c70371ad27
parent: john at arbash-meinel.com-20060831171608-867aec563de12363
parent: v.ladeuil at alplog.fr-20060830170852-dca26398e3c1c915
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: jam-integration
timestamp: Thu 2006-08-31 12:25:22 -0500
message:
[merge] Vincent Ladeuil: Update http transport to allow writable http
------------------------------------------------------------
merged: v.ladeuil at alplog.fr-20060830170852-dca26398e3c1c915
parent: v.ladeuil at alplog.fr-20060830153353-33d691357df978f8
committer: Vincent LADEUIL <v.ladeuil at alplog.fr>
branch nick: bzr.dev
timestamp: Wed 2006-08-30 19:08:52 +0200
message:
Fix Aaron's second review remarks.
* bzrlib/tests/test_transport_implementations.py:
(TransportTests.test_rmdir): Test that rmdir raise PathError
instead of testing 'has' which is tested elsewhere. I would have
prefered testing NoSuchFile but ftp tests failed (ftp can't
reliably gives a NoSuchFile exception).
------------------------------------------------------------
merged: v.ladeuil at alplog.fr-20060830153353-33d691357df978f8
parent: v.ladeuil at alplog.fr-20060829083448-fd3333952ea120b1
committer: Vincent LADEUIL <v.ladeuil at alplog.fr>
branch nick: bzr.dev
timestamp: Wed 2006-08-30 17:33:53 +0200
message:
Fix Aaron's review remarks.
* bzrlib/transport/http/__init__.py:
(HttpServer.__init__): Call parent __init__, just in case.
* bzrlib/transport/__init__.py:
Fix PEP8.
* bzrlib/tests/test_transport_implementations.py:
(TransportTests.test_rmdir): Use assertFalse not failIf.
------------------------------------------------------------
merged: v.ladeuil at alplog.fr-20060829083448-fd3333952ea120b1
parent: v.ladeuil at alplog.fr-20060828163142-b9e01629153529b9
parent: pqm at pqm.ubuntu.com-20060828224959-5430e7c7b4cb08c8
committer: Vincent LADEUIL <v.ladeuil at alplog.fr>
branch nick: bzr.dev
timestamp: Tue 2006-08-29 10:34:48 +0200
message:
Merge bzr.dev.
------------------------------------------------------------
merged: v.ladeuil at alplog.fr-20060828163142-b9e01629153529b9
parent: v.ladeuil at alplog.fr-20060828111554-da90c2f32275420b
committer: Vincent LADEUIL <v.ladeuil at alplog.fr>
branch nick: bzr.dev
timestamp: Mon 2006-08-28 18:31:42 +0200
message:
_pump accepts strings finally :)
* bzrlib/transport/__init__.py:
(Transport._pump): Revert the change, accept strings, there is too
much to do elsewhere to make the test suite pass all
tests. Anyway, a renaming of the methods is in progress elsewhere.
------------------------------------------------------------
merged: v.ladeuil at alplog.fr-20060828111554-da90c2f32275420b
parent: v.ladeuil at alplog.fr-20060828101002-0a8127cfc8ac63b0
committer: Vincent LADEUIL <v.ladeuil at alplog.fr>
branch nick: bzr.dev
timestamp: Mon 2006-08-28 13:15:54 +0200
message:
Cosmetic change.
------------------------------------------------------------
merged: v.ladeuil at alplog.fr-20060828101002-0a8127cfc8ac63b0
parent: v.ladeuil at alplog.fr-20060828100436-ed0ae276dca8fd5d
parent: v.ladeuil+lp at free.fr-20060827123205-e716aee13d06aaef
committer: Vincent LADEUIL <v.ladeuil at alplog.fr>
branch nick: bzr.dev
timestamp: Mon 2006-08-28 12:10:02 +0200
message:
Merge from bzr/for-webdav.
------------------------------------------------------------
merged: v.ladeuil+lp at free.fr-20060827123205-e716aee13d06aaef
parent: pqm at pqm.ubuntu.com-20060826132727-76ef12b67201fbf8
committer: vila <v.ladeuil+lp at free.fr>
branch nick: bzr.dev
timestamp: Sun 2006-08-27 14:32:05 +0200
message:
Enable writable http transports.
* bzrlib/transport/http/__init__.py:
(HttpTransportBase.abspath): Forbids directories only when the
transport is read-only (I think it was the original intent), as it
blocks all attempts to write a plugin that allows writing on http.
(HttpServer.__init__): Allows subclasses to specify their own
request handler.
* bzrlib/tests/test_transport_implementations.py:
(TransportTests.test_put): Cast to StringIO.
(TransportTests.test_rmdir): Use has to test the existence of the
file instead of stat. A transport may be writable without
implementing stat. The intent of the test is to test rmdir not
stat.
------------------------------------------------------------
merged: v.ladeuil at alplog.fr-20060828100436-ed0ae276dca8fd5d
parent: v.ladeuil at alplog.fr-20060828100320-195cc799942db415
parent: pqm at pqm.ubuntu.com-20060828012417-06e65a27028c9476
committer: Vincent LADEUIL <v.ladeuil at alplog.fr>
branch nick: bzr.dev
timestamp: Mon 2006-08-28 12:04:36 +0200
message:
Merge bzr.dev.
------------------------------------------------------------
merged: v.ladeuil at alplog.fr-20060828100320-195cc799942db415
parent: v.ladeuil at alplog.fr-20060822144819-9a431c1dd3544f60
committer: Vincent LADEUIL <v.ladeuil at alplog.fr>
branch nick: bzr.dev
timestamp: Mon 2006-08-28 12:03:20 +0200
message:
Transports accepts file-like objects only no strings anymore.
* bzrlib/transport/__init__.py:
(Transport._pump): No more need to check for
isinstance(xxx,basestring).
* bzrlib/tests/test_transport_implementations.py:
(TransportTests.test_put): Cast to StringIO before calling put.
* bzrlib/branch.py:
(BzrBranch.set_parent): Cast to StringIO before calling put.
------------------------------------------------------------
merged: v.ladeuil at alplog.fr-20060822144819-9a431c1dd3544f60
parent: v.ladeuil at alplog.fr-20060821162018-52f89e0971c34dc4
committer: Vincent LADEUIL <v.ladeuil at alplog.fr>
branch nick: bzr.dev
timestamp: Tue 2006-08-22 16:48:19 +0200
message:
Writable transport may not be able to implement stat.
* bzrlib/tests/test_transport_implementations.py:
(TransportTests.test_rmdir): Use has to test the existence of the
file instead of stat. A transport may be writable without
implementing stat. The intent of the test is to test rmdir not
stat.
------------------------------------------------------------
merged: v.ladeuil at alplog.fr-20060821162018-52f89e0971c34dc4
parent: v.ladeuil at alplog.fr-20060821142304-81356cfb0e564882
committer: Vincent LADEUIL <v.ladeuil at alplog.fr>
branch nick: bzr.dev
timestamp: Mon 2006-08-21 18:20:18 +0200
message:
Fix tabs.
* bzrlib/transport/http/__init__.py:
(HttpTransportBase.abspath, HttpServer.__init__): Replace tabs by
spaces.
------------------------------------------------------------
merged: v.ladeuil at alplog.fr-20060821142304-81356cfb0e564882
parent: pqm at pqm.ubuntu.com-20060818230844-138315adab4cfe22
committer: Vincent LADEUIL <v.ladeuil at alplog.fr>
branch nick: bzr.dev
timestamp: Mon 2006-08-21 16:23:04 +0200
message:
Enable writable http transports.
* bzrlib/transport/http/__init__.py:
(HttpTransportBase.abspath): Forbids directories only when the
transport is read-only (I think it was the original intent), as it
blocks all attempts to write a plugin that allows writing on http.
(HttpServer.__init__): Allows subclasses to specify their own
request handler.
------------------------------------------------------------
merged: john at arbash-meinel.com-20060831171608-867aec563de12363
parent: john at arbash-meinel.com-20060830135451-db085d993f76f572
parent: pqm at pqm.ubuntu.com-20060831060638-bfc0303de36a40a8
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: jam-integration
timestamp: Thu 2006-08-31 12:16:08 -0500
message:
[merge] bzr.dev 1977
More information about the bazaar-commits
mailing list