dirstate ready for experimenting?

Robert Collins robertc at robertcollins.net
Wed Feb 14 10:24:02 GMT 2007


So dirstate is down to 19 failing tests (*) that match the regex
WorkingTreeFormat4.

To me this says its really ready for people to start hammering on it
with tests and so on. I'm going to merge some/most of Aarons new tree
logic to support upgrades and format names and the like once all the
tests are passing. We discussed our both having the same format name -
and plan to actually combine both formats, so that there is no need for
a two-stage merge of nested-tree-by-reference support. We'll just not
merge the UI commands to do nested-trees, and the repository format is
still not available, so if our code for nested trees is buggy, we still
have the opportunity to correct this by doing a format bump in the
future. But thats a once-all-tests-pass consideration.

-Rob

...WorkingTree.test_list_files(WorkingTreeFormat4)ERROR
33ms
    'NoneType' object has no attribute 'root'
...Tree.test_list_files_sorted(WorkingTreeFormat4)ERROR
52ms
    'NoneType' object has no attribute 'root'
...es_versioned_before_ignored(WorkingTreeFormat4)ERROR
40ms
    'NoneType' object has no attribute 'root'
...precated_correct_call_named(WorkingTreeFormat4)ERROR
64ms
    'WorkingTree4' object has no attribute '_inventory_is_modified'
...ecated_correct_call_unnamed(WorkingTreeFormat4)ERROR
61ms
    'WorkingTree4' object has no attribute '_inventory_is_modified'
..._deprecated_deprecated_call(WorkingTreeFormat4)ERROR
64ms
    'WorkingTree4' object has no attribute '_inventory_is_modified'
..._move_deprecated_wrong_call(WorkingTreeFormat4)   OK
61ms
...n_normalized_add_accessible(WorkingTreeFormat4)ERROR
40ms
    <WorkingTree4
of /home/robertc/source/baz/dirstate/test0005.tmp/lementations.test_workingtree.TestWorkingTree.test_non_normalized_add_accessible(WorkingTreeF
ormat4)/work> is not locked
...orkingTree.test_rename_dirs(WorkingTreeFormat4)ERROR
67ms
    <WorkingTree4
of /home/robertc/source/baz/dirstate/test0005.tmp/workingtree_implementations.test_workingtree.TestWorkingTree.test_rename_dirs(WorkingTreeForm
at4)/work> is not locked
...Tree.test_set_last_revision(WorkingTreeFormat4)ERROR
38ms
    Ghost revision {A} cannot be used here.
...date_returns_conflict_count(WorkingTreeFormat4)ERROR
94ms
    A write attempt was made in a read only transaction on
LockableFiles(lock,
file:///home/robertc/source/baz/dirstate/test0005.tmp/lementations.test_workingtre
e.TestWorkingTree.test_update_returns_conflict_count%
28WorkingTreeFormat4%29/work/tree/.bzr/repository/)
...t_update_sets_last_revision(WorkingTreeFormat4)ERROR
104ms
    A write attempt was made in a read only transaction on
LockableFiles(lock,
file:///home/robertc/source/baz/dirstate/test0005.tmp/_implementations.test_workin
gtree.TestWorkingTree.test_update_sets_last_revision%
28WorkingTreeFormat4%29/work/tree/.bzr/repository/)
...est_clone_preserves_content(WorkingTreeFormat4) FAIL
140ms
    field count incorrect 38 != 45, entry_size=15, num_entries=3
fields=['', '', '', 'd', 'TREE_ROOT', '0',
'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', '', 'robertc at life
lesslap.robertcollins.net-20070214102207-3ses0w1pjz61wjpk', 'd', '', '',
'0', 'n', '', '\n', '', 'added', 'f', 'added', '0',
'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', 
'', '\n', '/', 'RECYCLED.BIN', 'f', 'deleted', '0',
'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', '',
'robertc at lifelesslap.robertcollins.net-20070214102207-3ses0w1pjz61wjp
k', 'f', '', 'deleted', '20', 'n',
'05ef78d59a382f757c0a2b91ca361a8ef937babd', '\n']
...rkingTree.test_merge_revert(WorkingTreeFormat4) FAIL
267ms
    field count incorrect 53 != 60, entry_size=15, num_entries=4
fields=['', '', '', 'd', 'TREE_ROOT', '0',
'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', '', 'robertc at life
lesslap.robertcollins.net-20070214102208-ojc3kbu94e62oorm', 'd', '', '',
'0', 'n', '', '\n', '', 'c', 'f',
'c-20070214102200-216k96tijp56fel2-19', '0', 'xxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxx', '', '\n', '', 'a', 'f',
'a-20070214102200-216k96tijp56fel2-17', '0',
'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', '', 'robertc at lifelesslap.robe
rtcollins.net-20070214102208-ojc3kbu94e62oorm', 'f', '', 'a', '7', 'n',
'78a02995c150495aef709464a117d925917faaca', '\n', '', 'b', 'f',
'b-20070214102200-216k96t
ijp56fel2-18', '0', 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', '',
'robertc at lifelesslap.robertcollins.net-20070214102208-ojc3kbu94e62oorm',
'f', '', 'b', '7', 'n', '554
9e1251abb9e3fdde4c836396e1adde0e92a80', '\n']
...normalized_add_inaccessible(WorkingTreeFormat4) FAIL
41ms
    InvalidNormalization not raised
...TestWorkingTree.test_revert(WorkingTreeFormat4) FAIL
67ms
    cannot generate inventory of an unlocked dirstate revision tree
...test_revert_clear_conflicts(WorkingTreeFormat4) FAIL
199ms
    cannot generate inventory of an unlocked dirstate revision tree
...est_revert_clear_conflicts2(WorkingTreeFormat4)XXX: incorrectly
truncated dirstate file bug triggered.
 FAIL                 200ms
    cannot generate inventory of an unlocked dirstate revision tree
...ingTree.test_revert_missing(WorkingTreeFormat4) FAIL
64ms
    cannot generate inventory of an unlocked dirstate revision tree
...rns_local_commit_into_merge(WorkingTreeFormat4) FAIL
173ms
    attempting to write an inventory when the dirstate is dirty will
cause data loss

-- 
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: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070214/ddbcff33/attachment.pgp 


More information about the bazaar mailing list