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
=== modified file 'commands.py'
--- commands.py 2010-02-07 00:26:28 +0000
+++ commands.py 2010-02-08 13:49:10 +0000
@@ -301,6 +301,7 @@
301 ``--clean`` option may be given.301 ``--clean`` option may be given.
302 """302 """
303303
304 aliases = ['colo-delete']
304 takes_options = [option.Option('clean',305 takes_options = [option.Option('clean',
305 help='Clean the repository after pruning.'),306 help='Clean the repository after pruning.'),
306 ]307 ]
@@ -514,6 +515,8 @@
514515
515 """Remove colocated branches (requires qbzr)"""516 """Remove colocated branches (requires qbzr)"""
516517
518 aliases = ['qdelete']
519
517 def run(self):520 def run(self):
518 raise errors.BzrCommandError('qprune requires the qbzr plugin.')521 raise errors.BzrCommandError('qprune requires the qbzr plugin.')
519522

Subscribers

People subscribed via source and target branches