~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/testrevision.py

  • Committer: Aaron Bentley
  • Date: 2005-11-17 05:14:54 UTC
  • mto: (1185.65.14 storage)
  • mto: This revision was merged to the branch mainline in revision 1550.
  • Revision ID: aaron.bentley@utoronto.ca-20051117051454-e9ac1dd13766b978
Moved get_ancestry to RevisionStorage

Show diffs side-by-side

added added

removed removed

Lines of Context:
112
112
                if rev_id in br2_only and not branch is br2:
113
113
                    continue
114
114
                mutter('ancestry of {%s}: %r',
115
 
                       rev_id, branch.get_ancestry(rev_id))
116
 
                self.assertEquals(sorted(branch.get_ancestry(rev_id)),
 
115
                       rev_id, branch.storage.get_ancestry(rev_id))
 
116
                self.assertEquals(sorted(branch.storage.get_ancestry(rev_id)),
117
117
                                  [None] + sorted(anc))
118
118
    
119
119