Rev 2678: Remove references to close_file_stream. in http://people.ubuntu.com/~robertc/baz2.0/transport
Robert Collins
robertc at robertcollins.net
Wed Aug 8 08:18:00 BST 2007
At http://people.ubuntu.com/~robertc/baz2.0/transport
------------------------------------------------------------
revno: 2678
revision-id: robertc at robertcollins.net-20070808071757-qfrx4dwms024ccy5
parent: robertc at robertcollins.net-20070808071618-4e1jopgxjj6g16ug
committer: Robert Collins <robertc at robertcollins.net>
branch nick: transport-get-file
timestamp: Wed 2007-08-08 17:17:57 +1000
message:
Remove references to close_file_stream.
modified:
NEWS NEWS-20050323055033-4e00b5db738777ff
bzrlib/transport/__init__.py transport.py-20050711165921-4978aa7ce1285ad5
=== modified file 'NEWS'
--- a/NEWS 2007-08-05 08:15:01 +0000
+++ b/NEWS 2007-08-08 07:17:57 +0000
@@ -202,10 +202,9 @@
just has hard coded values based on the url. (e.g. http:// has a large
page size, file:// has a small one.) (Robert Collins)
- * New methods on ``bzrlib.transport.Transport`` ``open_file_stream`` and
- ``close_file_stream`` allow incremental addition of data to a file
- without requiring that all the data be buffered in memory.
- (Robert Collins)
+ * New method on ``bzrlib.transport.Transport`` ``open_file_stream`` allows
+ incremental addition of data to a file without requiring that all the
+ data be buffered in memory. (Robert Collins)
TESTING:
=== modified file 'bzrlib/transport/__init__.py'
--- a/bzrlib/transport/__init__.py 2007-08-08 07:16:18 +0000
+++ b/bzrlib/transport/__init__.py 2007-08-08 07:17:57 +0000
@@ -884,11 +884,10 @@
"""Open a file stream at relpath.
A file stream is a callback which adds data to the file. Buffering
- may occur internally until the stream is closed with close_file_stream.
+ may occur internally until the stream is closed with stream.close().
Calls to readv or the get_* methods will be synchronised with any
internal buffering that may be present.
- :seealso: close_file_stream.
:param relpath: The relative path to the file.
:param mode: The mode for the newly created file,
None means just use the default
More information about the bazaar-commits
mailing list