/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/bundle/serializer/__init__.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-21 18:10:28 UTC
  • mto: This revision was merged to the branch mainline in revision 6623.
  • Revision ID: jelmer@jelmer.uk-20170521181028-zn04pdfw0od9hfj3
Rename brzlib => breezy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
from StringIO import StringIO
24
24
import re
25
25
 
26
 
from brzlib import (
 
26
from breezy import (
27
27
    errors,
28
28
    pyutils,
29
29
    )
30
 
from brzlib.diff import internal_diff
31
 
from brzlib.revision import NULL_REVISION
 
30
from breezy.diff import internal_diff
 
31
from breezy.revision import NULL_REVISION
32
32
# For backwards-compatibility
33
 
from brzlib.timestamp import unpack_highres_date, format_highres_date
 
33
from breezy.timestamp import unpack_highres_date, format_highres_date
34
34
 
35
35
 
36
36
# New bundles should try to use this header format
208
208
    base64.encode(temp, to_file)
209
209
    to_file.write('\n')
210
210
 
211
 
register_lazy('0.8', 'brzlib.bundle.serializer.v08', 'BundleSerializerV08')
212
 
register_lazy('0.9', 'brzlib.bundle.serializer.v09', 'BundleSerializerV09')
213
 
register_lazy(v4_string, 'brzlib.bundle.serializer.v4',
 
211
register_lazy('0.8', 'breezy.bundle.serializer.v08', 'BundleSerializerV08')
 
212
register_lazy('0.9', 'breezy.bundle.serializer.v09', 'BundleSerializerV09')
 
213
register_lazy(v4_string, 'breezy.bundle.serializer.v4',
214
214
              'BundleSerializerV4')
215
 
register_lazy(None, 'brzlib.bundle.serializer.v4', 'BundleSerializerV4')
 
215
register_lazy(None, 'breezy.bundle.serializer.v4', 'BundleSerializerV4')
216
216