~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Jonathan Riddell
  • Date: 2011-09-07 14:20:10 UTC
  • mfrom: (6123.1.10 +trunk)
  • mto: (6123.1.12 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6124.
  • Revision ID: jriddell@canonical.com-20110907142010-kncwzcbpsxd714ug
mergeĀ inĀ trunk

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