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

  • Committer: Jelmer Vernooij
  • Date: 2018-11-16 23:15:15 UTC
  • mfrom: (7180 work)
  • mto: This revision was merged to the branch mainline in revision 7183.
  • Revision ID: jelmer@jelmer.uk-20181116231515-zqd2yn6kj8lfydyp
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
from __future__ import absolute_import
23
23
 
24
24
# Since we are a built-in plugin we share the breezy version
25
 
from ... import version_info
 
25
from ... import version_info  # noqa: F401
26
26
 
27
27
from ... import (
28
28
    branch as _mod_branch,
80
80
# repository.py. MetaDir formats have their repository format network name
81
81
# inferred from their disk format string.
82
82
controldir.format_registry.register_lazy('weave',
83
 
    "breezy.plugins.weave_fmt.bzrdir", "BzrDirFormat6",
84
 
    'Pre-0.8 format.  Slower than knit and does not'
85
 
    ' support checkouts or shared repositories.',
86
 
    hidden=True,
87
 
    deprecated=True)
 
83
                                         "breezy.plugins.weave_fmt.bzrdir", "BzrDirFormat6",
 
84
                                         'Pre-0.8 format.  Slower than knit and does not'
 
85
                                         ' support checkouts or shared repositories.',
 
86
                                         hidden=True,
 
87
                                         deprecated=True)
88
88
register_metadir(controldir.format_registry, 'metaweave',
89
 
    'breezy.plugins.weave_fmt.repository.RepositoryFormat7',
90
 
    'Transitional format in 0.8.  Slower than knit.',
91
 
    branch_format='breezy.bzr.fullhistory.BzrBranchFormat5',
92
 
    tree_format='breezy.bzr.workingtree_3.WorkingTreeFormat3',
93
 
    hidden=True,
94
 
    deprecated=True)
 
89
                 'breezy.plugins.weave_fmt.repository.RepositoryFormat7',
 
90
                 'Transitional format in 0.8.  Slower than knit.',
 
91
                 branch_format='breezy.bzr.fullhistory.BzrBranchFormat5',
 
92
                 tree_format='breezy.bzr.workingtree_3.WorkingTreeFormat3',
 
93
                 hidden=True,
 
94
                 deprecated=True)
95
95
 
96
96
 
97
97
BzrProber.formats.register_lazy(
117
117
    'WorkingTreeFormat2')
118
118
 
119
119
serializer.format_registry.register_lazy('4', 'breezy.plugins.weave_fmt.xml4',
120
 
    'serializer_v4')
 
120
                                         'serializer_v4')
 
121
 
121
122
 
122
123
def load_tests(loader, basic_tests, pattern):
123
124
    testmod_names = [
127
128
        'test_workingtree',
128
129
        ]
129
130
    basic_tests.addTest(loader.loadTestsFromModuleNames(
130
 
            ["%s.%s" % (__name__, tmn) for tmn in testmod_names]))
 
131
        ["%s.%s" % (__name__, tmn) for tmn in testmod_names]))
131
132
    return basic_tests