/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/bzr/xml6.py

  • Committer: Jelmer Vernooij
  • Date: 2019-03-04 07:14:58 UTC
  • mto: (7290.1.13 work)
  • mto: This revision was merged to the branch mainline in revision 7295.
  • Revision ID: jelmer@jelmer.uk-20190304071458-2zp29edsanbi1560
Fix tests on Python 3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
# along with this program; if not, write to the Free Software
15
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
 
from bzrlib import xml8
 
17
from __future__ import absolute_import
 
18
 
 
19
from . import xml8
18
20
 
19
21
 
20
22
class Serializer_v6(xml8.Serializer_v8):
25
27
    converted from format 5 or 7 without updating the sha1.
26
28
    """
27
29
 
28
 
    format_num = '6'
 
30
    format_num = b'6'
29
31
    # Format 6 & 7 reported their revision format as 5.
30
 
    revision_format_num = '5'
 
32
    revision_format_num = b'5'
31
33
 
32
34
 
33
35
serializer_v6 = Serializer_v6()