~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/repository_implementations/test_reconcile.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-07-25 02:47:25 UTC
  • mfrom: (2625.8.2 knits)
  • Revision ID: pqm@pqm.ubuntu.com-20070725024725-x592w4y7gdqxv81x
(robertc) Allow the adaption of Knits to external indices via KnitGraphIndex. (Robert Collins).

Show diffs side-by-side

added added

removed removed

Lines of Context:
313
313
        d = bzrlib.bzrdir.BzrDir.open_from_transport(t)
314
314
        repo = d.open_repository()
315
315
        g = repo.get_revision_graph()
316
 
        if g['wrong-first-parent'] == ['1', '2']:
 
316
        if tuple(g['wrong-first-parent']) == ('1', '2'):
317
317
            raise TestSkipped('wrong-first-parent is not setup for testing')
318
318
        self.checkUnreconciled(d, repo.reconcile())
319
319
        # nothing should have been altered yet : inventories without
325
325
        self.assertEqual(0, reconciler.garbage_inventories)
326
326
        # and should have been fixed:
327
327
        g = repo.get_revision_graph()
328
 
        self.assertEqual(['1', '2'], g['wrong-first-parent'])
 
328
        self.assertEqual(('1', '2'), g['wrong-first-parent'])
329
329
 
330
330
    def test_reconcile_wrong_order_secondary(self):
331
331
        # a wrong order in secondary parents is ignored.