/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: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2019-12-22 13:21:36 UTC
  • mfrom: (7413.6.1 prober-features)
  • Revision ID: breezy.the.bot@gmail.com-20191222132136-v7g7cv3zepxhzj6x
Add an optional priority method for probers.

Merged from https://code.launchpad.net/~jelmer/brz/prober-features/+merge/375187

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()