~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: Martin Pool
  • Date: 2006-03-15 18:30:00 UTC
  • mto: (1668.1.8 bzr-0.8.mbp)
  • mto: This revision was merged to the branch mainline in revision 1710.
  • Revision ID: mbp@sourcefrog.net-20060315183000-76436e1498c38f7a
Rename command to 'register-branch'

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
from bzrlib.commands import Command, Option, register_command
26
26
 
27
 
class cmd_lp_register(Command):
28
 
    """Register an branch with launchpad.net.
 
27
class cmd_register_branch(Command):
 
28
    """Register a branch with launchpad.net.
29
29
 
30
30
    This command lists a bzr branch in the directory of branches on
31
31
    launchpad.net.  Registration allows the bug to be associated with
37
37
    takes_args = ['url']
38
38
 
39
39
 
40
 
register_command(cmd_lp_register)
 
40
register_command(cmd_register_branch)
41
41
 
42
42
def test_suite():
43
43
    """Called by bzrlib to fetch tests for this plugin"""