~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_weave.py

  • Committer: Ian Clatworthy
  • Date: 2007-09-20 01:18:47 UTC
  • mfrom: (2825.4.1 knit-index-propogation)
  • mto: This revision was merged to the branch mainline in revision 2836.
  • Revision ID: ian.clatworthy@internode.on.net-20070920011847-mxya10w42px03fw2
No longer propagate index differences automatically (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
707
707
        eq(wa.get_lines('b1'),
708
708
           ['hello\n', 'pale blue\n', 'world\n'])
709
709
 
710
 
    def test_join_parent_disagreement(self):
711
 
        #join reconciles differening parents into a union.
712
 
        wa = Weave()
713
 
        wb = Weave()
714
 
        wa.add_lines('v1', [], ['hello\n'])
715
 
        wb.add_lines('v0', [], [])
716
 
        wb.add_lines('v1', ['v0'], ['hello\n'])
717
 
        wa.join(wb)
718
 
        self.assertEqual(['v0'], wa.get_parents('v1'))
719
 
 
720
710
    def test_join_text_disagreement(self):
721
711
        """Cannot join weaves with different texts for a version."""
722
712
        wa = Weave()