[BUG][PATCH] bzr revno=679 fails testbzr

John Arbash Meinel john at arbash-meinel.com
Tue Jun 14 22:45:14 BST 2005


I'm trying to run the latest bzr (revno=679), and I found it has a few
problems.

First, selftest doesn't work, because it tests some modules without any
tests. The attached patch removes them. But you could also just add
tests to those modules.

Second, testbzr calls tick() before it calls update, which means that
there is an exception, since last_msg/last_cnt/etc all did not exist.

So I just added them into the __init__ constructor.

There is a third problem, where if you have an missing or unknown file
in the working tree, some of the time "bzr status" will give an
exception rather than properly reporting what is going on. I'm guessing
it is an issue with the stat cache. (Which should be renamed, since
statcache is a builtin python module).

John
=:->

PS> Also, the permissions of the patches/meta-data-in-inventory.patch is
incorrect, causing rsync to complain.

PPS> I'm getting a lot of segfaults on Mac OSX, I will try to figure out
why.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: progress-missing-members.patch
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20050614/04d71ac5/attachment.diff 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050614/04d71ac5/attachment.pgp 


More information about the bazaar mailing list