~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_workingtree_4.py

  • Committer: Martin Pool
  • Date: 2007-03-07 03:09:14 UTC
  • mto: (2321.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 2322.
  • Revision ID: mbp@sourcefrog.net-20070307030914-fb2gw9ae6lxcbbcd
Review cleanups: mostly updating or removing todo comments.

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
        self.assertFalse(t.has('inventory.basis'))
48
48
        # no last-revision file means 'None' or 'NULLREVISION'
49
49
        self.assertFalse(t.has('last-revision'))
50
 
        # TODO RBC 20060210 do a commit, check the inventory.basis is created 
51
 
        # correctly and last-revision file becomes present.
52
 
        # manually make a dirstate toc check the format is as desired.
53
50
        state = dirstate.DirState.on_file(t.local_abspath('dirstate'))
54
51
        state.lock_read()
55
52
        try:
89
86
        except errors.NotLocalUrl:
90
87
            raise TestSkipped('Not a local URL')
91
88
 
92
 
    # TODO: test that dirstate also stores & retrieves the parent list of 
93
 
    # workingtree-parent revisions, including when they have multiple parents.
94
 
    # (in other words, the case when we're constructing a merge of 
95
 
    # revisions which are themselves merges.)
96
 
 
97
 
    # The simplest case is that the the workingtree's primary 
98
 
    # parent tree can be retrieved.  This is required for all WorkingTrees, 
99
 
    # and covered by the generic tests.
100
 
 
101
89
    def test_dirstate_stores_all_parent_inventories(self):
102
90
        tree = self.make_workingtree()
103
91