[patch][0.15] better DirState._validate

Martin Pool mbp at sourcefrog.net
Mon Mar 26 09:53:30 BST 2007


Following on from John's move_children_correctly here is a patch that:

 * updates DirState._validate to be more correct
 * adds some tests for different types of incorrectness that we can detect
 * changes assertRaisess to return the exception object, so that we
can examine it
 * moves some test-creation code into the test_dirstate base class so
that it can be used by more tests

Since John's fix needs to be merged for 0.15 but it's validation
changes I want to put this in for the rc3, but review would be very
welcome.

-- 
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20070326-dirstate-validate.diff
Type: text/x-patch
Size: 25196 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070326/868f08a5/attachment-0001.bin 


More information about the bazaar mailing list