/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 breezy/plugins/git/repository.py

  • Committer: Jelmer Vernooij
  • Date: 2018-07-03 00:15:59 UTC
  • mto: This revision was merged to the branch mainline in revision 7027.
  • Revision ID: jelmer@jelmer.uk-20180703001559-crogxh6en8s4d83b
Fix remaining git tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
551
551
            return (git_sha, mapping)
552
552
 
553
553
    def get_revision(self, revision_id):
554
 
        if not isinstance(revision_id, str):
 
554
        if not isinstance(revision_id, bytes):
555
555
            raise errors.InvalidRevisionId(revision_id, self)
556
556
        git_commit_id, mapping = self.lookup_bzr_revision_id(revision_id)
557
557
        try: