~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-01-17 17:21:14 UTC
  • mfrom: (2229.2.5 reserved-ids)
  • Revision ID: pqm@pqm.ubuntu.com-20070117172114-dc75493dad46088c
Ensure reserved ids are never stored

Show diffs side-by-side

added added

removed removed

Lines of Context:
1077
1077
    def append_revision(self, *revision_ids):
1078
1078
        """See Branch.append_revision."""
1079
1079
        for revision_id in revision_ids:
 
1080
            _mod_revision.check_not_reserved_id(revision_id)
1080
1081
            mutter("add {%s} to revision-history" % revision_id)
1081
1082
        rev_history = self.revision_history()
1082
1083
        rev_history.extend(revision_ids)