~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/workingtree_implementations/test_parents.py

  • Committer: Robert Collins
  • Date: 2007-10-05 02:41:37 UTC
  • mto: (2592.3.166 repository)
  • mto: This revision was merged to the branch mainline in revision 2896.
  • Revision ID: robertc@robertcollins.net-20071005024137-kn7brcu07nu8cwl1
* The class ``bzrlib.repofmt.knitrepo.KnitRepository3`` has been folded into
  ``KnitRepository`` by parameters to the constructor. (Robert Collins)
* ``bzrlib.xml_serializer.Serializer`` is now responsible for checking that
  mandatory attributes are present on serialisation and deserialisation.
  This fixes some holes in API usage and allows better separation between
  physical storage and object serialisation. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
340
340
 
341
341
    def assertTransitionFromBasisToShape(self, basis_shape, basis_revid,
342
342
        new_shape, new_revid, extra_parent=None):
 
343
        # set the inventory revision ids.
 
344
        basis_shape.revision_id = basis_revid
 
345
        new_shape.revision_id = new_revid
343
346
        delta = self.make_inv_delta(basis_shape, new_shape)
344
347
        tree = self.make_branch_and_tree('tree')
345
348
        # the shapes need to be in the tree's repository to be able to set them