/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_workingtree.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-10-18 04:36:29 UTC
  • mfrom: (2084.1.4 jam-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20061018043629-1f09a4f1ce6e4566
(jam) new trees should not be created with unique roots, because it breaks old clients

Show diffs side-by-side

added added

removed removed

Lines of Context:
173
173
        t = control.get_workingtree_transport(None)
174
174
        self.assertEqualDiff('Bazaar-NG Working Tree format 3',
175
175
                             t.get('format').read())
176
 
        self.assertContainsRe(t.get('inventory').read(), 
177
 
                              '<inventory file_id="[^"]*" format="5">\n'
 
176
        # self.assertContainsRe(t.get('inventory').read(), 
 
177
        #                       '<inventory file_id="[^"]*" format="5">\n'
 
178
        #                       '</inventory>\n',
 
179
        #                      )
 
180
        # WorkingTreeFormat3 doesn't default to creating a unique root id,
 
181
        # because it is incompatible with older bzr versions
 
182
        self.assertContainsRe(t.get('inventory').read(),
 
183
                              '<inventory format="5">\n'
178
184
                              '</inventory>\n',
179
185
                             )
180
186
        self.assertEqualDiff('### bzr hashcache v5\n',