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

  • Committer: Aaron Bentley
  • Date: 2006-08-07 23:14:45 UTC
  • mto: (1731.1.39 nested-trees)
  • mto: This revision was merged to the branch mainline in revision 1910.
  • Revision ID: aaron.bentley@utoronto.ca-20060807231445-618a867437f6e82c
RemoveĀ is_root

Show diffs side-by-side

added added

removed removed

Lines of Context:
1557
1557
    def _store_new_weave(self, rev, inv, present_parents):
1558
1558
        # the XML is now updated with text versions
1559
1559
        if __debug__:
1560
 
            for file_id in inv:
1561
 
                if inv.is_root(file_id):
1562
 
                    continue
1563
 
                ie = inv[file_id]
 
1560
            entries = inv.iter_entries()
 
1561
            entries.next()
 
1562
            for path, ie in entries:
1564
1563
                assert hasattr(ie, 'revision'), \
1565
1564
                    'no revision on {%s} in {%s}' % \
1566
1565
                    (file_id, rev.revision_id)
1579
1578
        mutter('converting texts of revision {%s}',
1580
1579
               rev_id)
1581
1580
        parent_invs = map(self._load_updated_inventory, present_parents)
1582
 
        for file_id in inv:
1583
 
            if inv.is_root(file_id):
1584
 
                continue
1585
 
            ie = inv[file_id]
 
1581
        entries = inv.iter_entries()
 
1582
        entries.next()
 
1583
        for path, ie in entries:
1586
1584
            self._convert_file_version(rev, ie, parent_invs)
1587
1585
 
1588
1586
    def _convert_file_version(self, rev, ie, parent_invs):