~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree.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:
399
399
            try:
400
400
                xml = self.read_basis_inventory()
401
401
                inv = bzrlib.xml5.serializer_v5.read_inventory_from_string(xml)
 
402
                inv.root.revision = revision_id
402
403
            except NoSuchFile:
403
404
                inv = None
404
405
            if inv is not None and inv.revision_id == revision_id: