/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/weave_fmt/bzrdir.py

  • Committer: Jelmer Vernooij
  • Date: 2018-02-17 00:06:35 UTC
  • mto: (6855.3.2 bees)
  • mto: This revision was merged to the branch mainline in revision 6923.
  • Revision ID: jelmer@jelmer.uk-20180217000635-p82hqmv6yt9t3cbl
Format strings are bytes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
116
116
    @classmethod
117
117
    def get_format_string(cls):
118
118
        """See BzrDirFormat.get_format_string()."""
119
 
        return "Bazaar-NG branch, format 5\n"
 
119
        return b"Bazaar-NG branch, format 5\n"
120
120
 
121
121
    def get_branch_format(self):
122
122
        from .branch import BzrBranchFormat4
180
180
    @classmethod
181
181
    def get_format_string(cls):
182
182
        """See BzrDirFormat.get_format_string()."""
183
 
        return "Bazaar-NG branch, format 6\n"
 
183
        return b"Bazaar-NG branch, format 6\n"
184
184
 
185
185
    def get_format_description(self):
186
186
        """See ControlDirFormat.get_format_description()."""
689
689
    @classmethod
690
690
    def get_format_string(cls):
691
691
        """See BzrDirFormat.get_format_string()."""
692
 
        return "Bazaar-NG branch, format 0.0.4\n"
 
692
        return b"Bazaar-NG branch, format 0.0.4\n"
693
693
 
694
694
    def get_format_description(self):
695
695
        """See ControlDirFormat.get_format_description()."""