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

A few more bug fixes.

Handle when a location changes file_id. We were looking up the path
in the active tree, we need to look it up in the basis_tree.
Add a direct test for the 'switch' case, which is when setting
a parent_tree to something new, and the basis_tree is no longer
in the available repository.
Add a couple more direct successful delta checks. (most of the
test_inv tests were just about failing with bad deltas.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
 
94
94
 
95
95
format_registry = SerializerRegistry()
96
 
format_registry.register_lazy('4', 'bzrlib.xml4', 'serializer_v4')
97
96
format_registry.register_lazy('5', 'bzrlib.xml5', 'serializer_v5')
98
97
format_registry.register_lazy('6', 'bzrlib.xml6', 'serializer_v6')
99
98
format_registry.register_lazy('7', 'bzrlib.xml7', 'serializer_v7')