/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/remote.py

  • Committer: Jelmer Vernooij
  • Date: 2018-06-21 23:59:28 UTC
  • mfrom: (6973.6.4 python3-e)
  • Revision ID: jelmer@jelmer.uk-20180621235928-f7z0vf0lxc6ieo9e
Merge lp:~jelmer/brz/python3-e

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
    UninitializableFormat,
49
49
    )
50
50
from ...revisiontree import RevisionTree
 
51
from ...sixish import text_type
51
52
from ...transport import (
52
53
    Transport,
53
54
    register_urlparse_netloc_protocol,
902
903
                except KeyError:
903
904
                    # Let's just hope it's a commit
904
905
                    peeled = unpeeled
905
 
            if type(tag_name) is not unicode:
 
906
            if not isinstance(tag_name, text_type):
906
907
                raise TypeError(tag_name)
907
908
            yield (ref_name, tag_name, peeled, unpeeled)
908
909