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

  • Committer: Aaron Bentley
  • Date: 2006-08-08 06:47:16 UTC
  • mto: (1910.2.43 format-bumps)
  • mto: This revision was merged to the branch mainline in revision 1922.
  • Revision ID: aaron.bentley@utoronto.ca-20060808064716-75bc465292c2708f
Ensure root entry always has a revision

Show diffs side-by-side

added added

removed removed

Lines of Context:
443
443
        :param revision_id: The expected revision id of the inventory.
444
444
        :param xml: A serialised inventory.
445
445
        """
446
 
        return xml5.serializer_v5.read_inventory_from_string(xml)
 
446
        result = xml5.serializer_v5.read_inventory_from_string(xml)
 
447
        result.root.revision = revision_id
 
448
        return result
447
449
 
448
450
    @needs_read_lock
449
451
    def get_inventory_xml(self, revision_id):