[MERGE] Fix error handling in insert_data_stream (+ remove duplicate HeadsCache)

Lukáš Lalinský lalinsky at gmail.com
Tue Jan 15 16:33:43 GMT 2008

Here is a patch for two problems in Repository.insert_data_stream:

   - It always fails on already present revisions for pack and remote
repositories, because they return parents as tuples and bdecode returns
   - It tries to use undefined RepositoryDataStreamError in case of
invalid stream item key.

(Btw, why is insert_data_stream in Repository? The implementation is
very knit-specific.)

There is one more revision in the bundle, but removing of the duplicate
HeadsCache is so trivial that I don't think it deserves a separate merge


-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzr-mail-qLeT4a.patch
Type: text/x-patch
Size: 6596 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080115/1f3e3a0d/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Toto je =?ISO-8859-1?Q?digit=E1lne?=
	=?ISO-8859-1?Q?_podp=EDsan=E1?= =?UTF-8?Q?_=C4=8Das=C5=A5?=
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080115/1f3e3a0d/attachment-0001.pgp 

More information about the bazaar mailing list