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

  • Committer: John Arbash Meinel
  • Date: 2009-06-17 18:23:59 UTC
  • mto: This revision was merged to the branch mainline in revision 4461.
  • Revision ID: john@arbash-meinel.com-20090617182359-3ms8skqdaxn3db9m
Some cleanup. Move the check that from_dict works into test_chk_map.

Show diffs side-by-side

added added

removed removed

Lines of Context:
203
203
            multiple pages.
204
204
        :return: The root chk of the resulting CHKMap.
205
205
        """
206
 
        # root_key = klass._create_via_map(store, initial_value,
207
 
        #     maximum_size=maximum_size, key_width=key_width,
208
 
        #     search_key_func=search_key_func)
209
206
        root_key = klass._create_directly(store, initial_value,
210
207
            maximum_size=maximum_size, key_width=key_width,
211
208
            search_key_func=search_key_func)
212
 
        # if root_key != alt_root_key:
213
 
        #     result1 = klass(store, root_key, search_key_func=search_key_func)
214
 
        #     result2 = klass(store, alt_root_key,
215
 
        #                     search_key_func=search_key_func)
216
 
        #     import pdb; pdb.set_trace()
217
 
        #     raise ValueError('Failed to serialize via leaf splitting.')
218
209
        return root_key
219
210
 
220
211
    @classmethod