~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/knit.py

  • Committer: Martin Pool
  • Date: 2006-05-17 07:09:13 UTC
  • mfrom: (1668.1.15 bzr-0.8.mbp)
  • mto: This revision was merged to the branch mainline in revision 1710.
  • Revision ID: mbp@sourcefrog.net-20060517070913-723e387ac91d55c0
merge 0.8 fix branch, including register-branch plugin

Show diffs side-by-side

added added

removed removed

Lines of Context:
633
633
        assert self.writable, "knit is not opened for write"
634
634
        ### FIXME escape. RBC 20060228
635
635
        if contains_whitespace(version_id):
636
 
            raise InvalidRevisionId(version_id)
 
636
            raise InvalidRevisionId(version_id, self.filename)
637
637
        if self.has_version(version_id):
638
638
            raise RevisionAlreadyPresent(version_id, self.filename)
639
639
        self._check_lines_not_unicode(lines)