Rev 2507: When we append a new line, don't use text mode in http://bzr.arbash-meinel.com/branches/bzr/0.17-dev/knit_index_pyrex
John Arbash Meinel
john at arbash-meinel.com
Mon Jul 2 19:36:43 BST 2007
At http://bzr.arbash-meinel.com/branches/bzr/0.17-dev/knit_index_pyrex
------------------------------------------------------------
revno: 2507
revision-id: john at arbash-meinel.com-20070702183631-ylkveb8ux8imm6cx
parent: john at arbash-meinel.com-20070629171416-9vwyxcz9w0xt39z0
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: knit_index_pyrex
timestamp: Mon 2007-07-02 13:36:31 -0500
message:
When we append a new line, don't use text mode
modified:
bzrlib/tests/test_knit.py test_knit.py-20051212171302-95d4c00dd5f11f2b
-------------- next part --------------
=== modified file 'bzrlib/tests/test_knit.py'
--- a/bzrlib/tests/test_knit.py 2007-06-29 16:16:46 +0000
+++ b/bzrlib/tests/test_knit.py 2007-07-02 18:36:31 +0000
@@ -1110,7 +1110,7 @@
knit = KnitVersionedFile('test', get_transport('.'), access_mode='r')
self.assertEqual(['revid', 'revid2'], knit.versions())
# write a short write to the file and ensure that its ignored
- indexfile = file('test.kndx', 'at')
+ indexfile = file('test.kndx', 'ab')
indexfile.write('\nrevid3 line-delta 166 82 1 2 3 4 5 .phwoar:demo ')
indexfile.close()
# we should be able to load this file again
More information about the bazaar-commits
mailing list