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

  • Committer: Jelmer Vernooij
  • Date: 2017-09-02 22:39:35 UTC
  • mfrom: (0.198.9 bzr-repodebug)
  • mto: This revision was merged to the branch mainline in revision 6786.
  • Revision ID: jelmer@jelmer.uk-20170902223935-tdznuv85ppvlmd8u
Merge lp:bzr-repodebug.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright (C) 2011 Canonical Ltd
 
2
#
 
3
# This program is free software; you can redistribute it and/or modify
 
4
# it under the terms of the GNU General Public License as published by
 
5
# the Free Software Foundation; either version 2 of the License, or
 
6
# (at your option) any later version.
 
7
#
 
8
# This program is distributed in the hope that it will be useful,
 
9
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
10
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
11
# GNU General Public License for more details.
 
12
#
 
13
# You should have received a copy of the GNU General Public License
 
14
# along with this program; if not, write to the Free Software
 
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 
16
 
 
17
"""Some commands for debugging and repairing bzr repositories.
 
18
 
 
19
Some of these commands may be good candidates for adding to bzr itself, perhaps
 
20
as hidden commands.
 
21
"""
 
22
 
 
23
from ...commands import plugin_cmds
 
24
 
 
25
plugin_cmds.register_lazy(
 
26
    'cmd_check_chk', [], __name__ + '.check_chk')
 
27
plugin_cmds.register_lazy(
 
28
    'cmd_chk_used_by', [], __name__ + '.chk_used_by')
 
29
plugin_cmds.register_lazy(
 
30
    'cmd_fetch_all_records', [], __name__ + '.fetch_all_records')
 
31
plugin_cmds.register_lazy(
 
32
    'cmd_file_refs', [], __name__ + '.file_refs')
 
33
plugin_cmds.register_lazy(
 
34
    'cmd_fix_missing_keys_for_stacking', [],
 
35
    __name__ + '.missing_keys_for_stacking_fixer')
 
36
plugin_cmds.register_lazy(
 
37
    'cmd_mirror_revs_into', [],
 
38
    __name__ + '.missing_keys_for_stacking_fixer')
 
39
plugin_cmds.register_lazy(
 
40
    'cmd_repo_has_key', [], __name__ + '.repo_has_key')
 
41
plugin_cmds.register_lazy(
 
42
    'cmd_repo_keys', [], __name__ + '.repo_keys')
 
43
 
 
44