/breezy/unstable

To get this branch, use:
bzr branch https://code.breezy-vcs.org/breezy/unstable

« back to all changes in this revision

Viewing changes to breezy/bzr/fullhistory.py

Merge trunk, address review comments.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
 
44
44
    @needs_write_lock
45
45
    def set_last_revision_info(self, revno, revision_id):
46
 
        if not revision_id or not isinstance(revision_id, basestring):
 
46
        if not revision_id or not isinstance(revision_id, bytes):
47
47
            raise errors.InvalidRevisionId(revision_id=revision_id, branch=self)
48
48
        revision_id = _mod_revision.ensure_null(revision_id)
49
49
        # this old format stores the full history, but this api doesn't