[BUG] Knit code assertion error

Robert Collins robertc at robertcollins.net
Thu Apr 20 05:05:05 BST 2006


On Wed, 2006-04-19 at 22:21 -0500, John Arbash Meinel wrote:
> Robert Collins wrote:
> > just grabbing lunch, will be back soon.
> > 
> > I have encountered a variation on the short read, in _read_eof, so I'm
> > going to debug that and add a test for it. Hopefully they are closely
> > related.
> > 
> > Rob
> 
> I think I might have a clue as to the problem. It only happens at the
> time you *create* the working tree. On the new machine, it successfully
> creates a branch in a knit repository, but then doing:
> 
> $ bzr checkout
> bzr: ERROR: exceptions.AssertionError:
>   at /home/jameinel/dev/bzr/bzr.dev/bzrlib/knit.py line 1270
>   in _parse_record
> 
> Hopefully that will help you track down the problem.

This problem _should_ have been fixed in the commit for revision 1649 -
which fixed the line splitting to not split on \r.

I'll need a copy of the knit format repository (as generated by current
bzr.dev) to debug this - seeing the data coming out is critical.

Rob

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060420/cc192798/attachment.pgp 


More information about the bazaar mailing list