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

  • Committer: Jelmer Vernooij
  • Date: 2018-06-29 20:24:31 UTC
  • mfrom: (6999 work)
  • mto: This revision was merged to the branch mainline in revision 7008.
  • Revision ID: jelmer@jelmer.uk-20180629202431-2td8kihrsthzuvau
merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
from ...revision import (
45
45
    NULL_REVISION,
46
46
    )
 
47
from ...sixish import text_type
47
48
from ...trace import (
48
49
    is_quiet,
49
50
    mutter,
263
264
class GitBranchFormat(branch.BranchFormat):
264
265
 
265
266
    def network_name(self):
266
 
        return "git"
 
267
        return b"git"
267
268
 
268
269
    def supports_tags(self):
269
270
        return True
695
696
            peeled = refs.get_peeled(ref_name)
696
697
            if peeled is None:
697
698
                peeled = unpeeled
698
 
            if type(tag_name) is not unicode:
 
699
            if not isinstance(tag_name, text_type):
699
700
                raise TypeError(tag_name)
700
701
            yield (ref_name, tag_name, peeled, unpeeled)
701
702