~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Andrew Bennetts
  • Date: 2008-08-07 00:25:38 UTC
  • mfrom: (3612 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3613.
  • Revision ID: andrew.bennetts@canonical.com-20080807002538-mtl1fcgy2fdabha4
Merge from bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
def preview_tree_pre(testcase, tree):
75
75
    tt = TransformPreview(tree)
76
76
    testcase.addCleanup(tt.finalize)
77
 
    return tt.get_preview_tree()
 
77
    preview_tree = tt.get_preview_tree()
 
78
    preview_tree.set_parent_ids(tree.get_parent_ids())
 
79
    return preview_tree
78
80
 
79
81
 
80
82
class TestTreeImplementationSupport(TestCaseWithTransport):