~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commit.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:
67
67
from bzrlib.errors import (BzrError, PointlessCommit,
68
68
                           HistoryMissing,
69
69
                           )
70
 
from bzrlib.revision import Revision, RevisionReference
 
70
from bzrlib.revision import Revision
71
71
from bzrlib.trace import mutter, note, warning
72
72
from bzrlib.xml5 import serializer_v5
73
73
from bzrlib.inventory import Inventory
286
286
                            message=self.message,
287
287
                            inventory_sha1=self.inv_sha1,
288
288
                            revision_id=self.rev_id)
289
 
        self.rev.parents = map(RevisionReference, self.parents)
 
289
        self.rev.parents = self.parents
290
290
        rev_tmp = StringIO()
291
291
        serializer_v5.write_revision(self.rev, rev_tmp)
292
292
        rev_tmp.seek(0)