~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 08:02:41 UTC
  • Revision ID: mbp@sourcefrog.net-20050919080241-d9460223db8f7d90
- rename to Revision.parent_ids to avoid confusion with old usage
  where Revision.parents held objects rather than strings\t

Show diffs side-by-side

added added

removed removed

Lines of Context:
174
174
        assert rev.inventory_sha1 == sha_string(inv_xml)
175
175
        mutter('  commiter %s, %d parents',
176
176
               rev.committer,
177
 
               len(rev.parents))
 
177
               len(rev.parent_ids))
178
178
        self._copy_new_texts(rev_id, inv)
179
 
        self._copy_inventory(rev_id, inv_xml, rev.parents)
180
 
        self._copy_ancestry(rev_id, rev.parents)
 
179
        self._copy_inventory(rev_id, inv_xml, rev.parent_ids)
 
180
        self._copy_ancestry(rev_id, rev.parent_ids)
181
181
        self.to_branch.revision_store.add(StringIO(rev_xml), rev_id)
182
182
 
183
183