[MERGE] Prevent knit corruption by checking parents

Aaron Bentley aaron.bentley at utoronto.ca
Fri Sep 22 14:05:43 BST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andrew Bennetts wrote:
> On Thu, Sep 21, 2006 at 12:30:50PM -0400, Aaron Bentley wrote:

>>Aaron Bentley wrote:
>>
>>>This patch causes a KnitTextsDiffer exception to be raised when knits
>>>disagree about the content of a parent.
>>
>>Updated so that KnitTextsDiffer is a printable exception...
> 
> 
> Perhaps add a test for it to test_errors?  Adding a short test for each new
> error there is probably a good thing to do.

I'd rather make it easier than that.  Perhaps we could get assertRaises
to also ensure the raised exception is printable.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFFE9+n0F+nu1YWqI0RAloMAJ0QQPH67TfMZbJmVVtiNcwO+QBPawCfT5oP
pEtsYYwhHPKPemhbE4xemrM=
=elg1
-----END PGP SIGNATURE-----




More information about the bazaar mailing list