~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/fetch.py

  • Committer: Martin Pool
  • Date: 2005-09-19 07:52:30 UTC
  • Revision ID: mbp@sourcefrog.net-20050919075230-bd8a133ef1671044
- remove RevisionReference; just hold parent ids directly

Show diffs side-by-side

added added

removed removed

Lines of Context:
176
176
               rev.committer,
177
177
               len(rev.parents))
178
178
        self._copy_new_texts(rev_id, inv)
179
 
        parent_ids = [x.revision_id for x in rev.parents]
180
 
        self._copy_inventory(rev_id, inv_xml, parent_ids)
181
 
        self._copy_ancestry(rev_id, parent_ids)
 
179
        self._copy_inventory(rev_id, inv_xml, rev.parents)
 
180
        self._copy_ancestry(rev_id, rev.parents)
182
181
        self.to_branch.revision_store.add(StringIO(rev_xml), rev_id)
183
182
 
184
183