~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_branch/test_push.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-09-01 20:21:14 UTC
  • mfrom: (6113.1.4 wt-foreign-test-fixes)
  • Revision ID: pqm@pqm.ubuntu.com-20110901202114-g5ayj75lq9f47sch
(jelmer) Various fixes to allow tests to run against foreign branches.
 (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
251
251
        self.addCleanup(repo.lock_read().unlock)
252
252
        # We should have pushed 'C', but not 'B', since it isn't in the
253
253
        # ancestry
254
 
        self.assertEqual([('A',), ('C',)], sorted(repo.revisions.keys()))
 
254
        self.assertEqual(['A', 'C'], sorted(repo.all_revision_ids()))
255
255
 
256
256
    def test_push_with_default_stacking_does_not_create_broken_branch(self):
257
257
        """Pushing a new standalone branch works even when there's a default