~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_switch.py

  • Committer: Aaron Bentley
  • Date: 2007-12-09 23:53:50 UTC
  • mto: This revision was merged to the branch mainline in revision 3133.
  • Revision ID: aaron.bentley@utoronto.ca-20071209235350-qp39yk0xzx7a4f6p
Don't use the base if not cherrypicking

Show diffs side-by-side

added added

removed removed

Lines of Context:
130
130
        self.failIfExists('checkout/file-3')
131
131
        self.failUnlessExists('checkout/file-4')
132
132
        # Check that the checkout is a true mirror of the bound branch
133
 
        self.assertEqual(to_branch.last_revision_info(),
134
 
                         checkout.branch.last_revision_info())
 
133
        missing_in_checkout = checkout.branch.missing_revisions(to_branch)
 
134
        self.assertEqual([], missing_in_checkout)
 
135
        missing_in_remote = to_branch.missing_revisions(checkout.branch)
 
136
        self.assertEqual([], missing_in_remote)