~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Aaron Bentley
  • Date: 2006-08-24 18:37:24 UTC
  • mto: (1910.2.43 format-bumps)
  • mto: This revision was merged to the branch mainline in revision 1997.
  • Revision ID: abentley@panoramicfeedback.com-20060824183724-7a648a260a5b587d
Handle empty commits, fix test

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
        t = bzrdir.BzrDir.create_standalone_workingtree('.')
53
53
        # an empty inventory with no revision will trigger reconciliation.
54
54
        repo = t.branch.repository
55
 
        inv = Inventory()
 
55
        inv = Inventory(revision_id='missing')
 
56
        inv.root.revision='missing'
56
57
        repo.add_inventory('missing', inv, [])
57
58
        (out, err) = self.run_bzr_captured(['reconcile'])
58
59
        self.assertEqualDiff(out, "Reconciling repository %s\n"