Merge lp:~bialix/bzr-colo/help into lp:bzr-colo

Proposed by Alexander Belchenko
Status: Merged
Merged at revision: not available
Proposed branch: lp:~bialix/bzr-colo/help
Merge into: lp:bzr-colo
Diff against target: 19 lines (+3/-0)
1 file modified
commands.py (+3/-0)
To merge this branch: bzr merge lp:~bialix/bzr-colo/help
Reviewer Review Type Date Requested Status
Neil Martinsen-Burrell Pending
Review via email: mp+18837@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Alexander Belchenko (bialix) wrote :

added aliases names to command classes, otherwise they won't appear in the help for command.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'commands.py'
2--- commands.py 2010-02-07 00:26:28 +0000
3+++ commands.py 2010-02-08 13:49:10 +0000
4@@ -301,6 +301,7 @@
5 ``--clean`` option may be given.
6 """
7
8+ aliases = ['colo-delete']
9 takes_options = [option.Option('clean',
10 help='Clean the repository after pruning.'),
11 ]
12@@ -514,6 +515,8 @@
13
14 """Remove colocated branches (requires qbzr)"""
15
16+ aliases = ['qdelete']
17+
18 def run(self):
19 raise errors.BzrCommandError('qprune requires the qbzr plugin.')
20

Subscribers

People subscribed via source and target branches