~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_knit.py

  • Committer: Ian Clatworthy
  • Date: 2007-09-25 05:35:07 UTC
  • mto: (2858.1.1 ianc-integration2)
  • mto: This revision was merged to the branch mainline in revision 2860.
  • Revision ID: ian.clatworthy@internode.on.net-20070925053507-pcgw7jrgdggp2mq8
fix up plain-to-annotated knit conversion

Show diffs side-by-side

added added

removed removed

Lines of Context:
1371
1371
        origins = k2.annotate('text-m')
1372
1372
        self.assertEquals(origins[0], ('text-a', 'a1\n'))
1373
1373
        self.assertEquals(origins[1], ('text-b', 'b2\n'))
1374
 
        # This fails and I assume that's a bad thing ...
1375
 
        #self.assertEquals(origins[2], ('text-d', 'd3\n'))
1376
 
        # This succeeds and I assume that's a bad thing ...
1377
 
        self.assertEquals(origins[2], ('text-m', 'd3\n'))
 
1374
        self.assertEquals(origins[2], ('text-d', 'd3\n'))
1378
1375
 
1379
1376
    def test_reannotate(self):
1380
1377
        k1 = KnitVersionedFile('knit1', get_transport('.'),