/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Aaron Bentley
  • Date: 2007-01-11 17:20:25 UTC
  • mto: This revision was merged to the branch mainline in revision 2239.
  • Revision ID: abentley@panoramicfeedback.com-20070111172025-8rnvvm3jqx7h5uvv
Reject reserved ids in versiondfile, tree, branch and repository

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
            if _mod_revision.reserved_id(revision_id):
 
1081
                raise errors.ReservedId(revision_id)
1080
1082
            mutter("add {%s} to revision-history" % revision_id)
1081
1083
        rev_history = self.revision_history()
1082
1084
        rev_history.extend(revision_ids)