/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_commit.py

  • Committer: Jelmer Vernooij
  • Date: 2011-10-05 12:16:17 UTC
  • mto: This revision was merged to the branch mainline in revision 6216.
  • Revision ID: jelmer@samba.org-20111005121617-cpmg83tbv5l2eweq
Avoid all iter_reverse_revision_history calls.

Show diffs side-by-side

added added

removed removed

Lines of Context:
364
364
            rev_ids.append(rev_id)
365
365
            wt.commit(message='rev %d' % (i+1),
366
366
                     rev_id=rev_id)
367
 
        history = list(b.repository.iter_reverse_revision_history(
368
 
            b.last_revision()))
369
 
        history.reverse()
370
 
        self.assertEquals(history, rev_ids)
371
367
        for i in range(4):
372
368
            self.assertThat(rev_ids[:i+1],
373
369
                MatchesAncestry(b.repository, rev_ids[i]))