/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/per_workingtree/test_add_reference.py

  • Committer: John Arbash Meinel
  • Date: 2011-05-06 14:53:40 UTC
  • mfrom: (5835 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5846.
  • Revision ID: john@arbash-meinel.com-20110506145340-whf3chalcyhar9ag
Merge bzr.dev 5835 in prep for release-notes updates

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
        tree.lock_write()
55
55
        try:
56
56
            self.assertEqual(tree.path2id('sub-tree'), 'sub-tree-root-id')
57
 
            self.assertEqual(tree.inventory['sub-tree-root-id'].kind,
58
 
                             'tree-reference')
 
57
            self.assertEqual(tree.kind('sub-tree-root-id'), 'tree-reference')
59
58
            tree.commit('commit reference')
60
59
            basis = tree.basis_tree()
61
60
            basis.lock_read()