~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/tree_implementations/__init__.py

  • Committer: John Arbash Meinel
  • Date: 2006-10-16 01:50:48 UTC
  • mfrom: (2078 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2080.
  • Revision ID: john@arbash-meinel.com-20061016015048-0f22df07e38093da
[merge] bzr.dev 2078

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
        :param empty_tree: A working tree with no content and no parents to
87
87
            modify.
88
88
        """
 
89
        empty_tree.set_root_id('empty-root-id')
89
90
        return self._convert_tree(empty_tree, converter)
90
91
 
91
92
    def _make_abc_tree(self, tree):
92
93
        """setup an abc content tree."""
93
94
        files = ['a', 'b/', 'b/c']
94
 
        self.build_tree(files, line_endings='binary',
 
95
        self.build_tree(files, line_endings='binary', 
95
96
                        transport=tree.bzrdir.root_transport)
 
97
        tree.set_root_id('root-id')
96
98
        tree.add(files, ['a-id', 'b-id', 'c-id'])
97
99
 
98
100
    def get_tree_no_parents_abc_content(self, tree, converter=None):