~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commit.py

  • Committer: Martin Pool
  • Date: 2005-09-13 23:18:12 UTC
  • Revision ID: mbp@sourcefrog.net-20050913231812-dc1df8fb11f78a31
- rename last_patch to last_revision

Show diffs side-by-side

added added

removed removed

Lines of Context:
251
251
        if pending_merges:
252
252
            raise NotImplementedError("sorry, can't commit merges to the weave format yet")
253
253
        self.parents = []
254
 
        precursor_id = self.branch.last_patch()
 
254
        precursor_id = self.branch.last_revision()
255
255
        if precursor_id:
256
256
            self.parents.append(precursor_id)
257
257
        self.parents += pending_merges