/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_knit.py

  • Committer: John Arbash Meinel
  • Date: 2008-02-26 22:26:00 UTC
  • mto: This revision was merged to the branch mainline in revision 3280.
  • Revision ID: john@arbash-meinel.com-20080226222600-6wsja3pv4kelorug
Revert the _get_component_positions api

Show diffs side-by-side

added added

removed removed

Lines of Context:
2102
2102
 
2103
2103
        def read_one_raw(version):
2104
2104
            pos_map = k._get_components_positions([version])
2105
 
            method, index_memo, next, parents, noeol= pos_map[version]
 
2105
            method, index_memo, next = pos_map[version]
2106
2106
            lst = list(k._data.read_records_iter_raw([(version, index_memo)]))
2107
2107
            self.assertEqual(1, len(lst))
2108
2108
            return lst[0]
2123
2123
 
2124
2124
        def read_one(version):
2125
2125
            pos_map = k._get_components_positions([version])
2126
 
            method, index_memo, next, parents, noeol = pos_map[version]
 
2126
            method, index_memo, next = pos_map[version]
2127
2127
            lst = list(k._data.read_records_iter([(version, index_memo)]))
2128
2128
            self.assertEqual(1, len(lst))
2129
2129
            return lst[0]