~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: Aaron Bentley
  • Date: 2005-06-22 19:08:29 UTC
  • Revision ID: abentley@panoramicfeedback.com-20050622190829-8813e668768cafc5
Used the bzr 0.5+ plugin stuff

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
import bzrlib.commands
 
2
import push
 
3
import annotate
 
4
import shelf
 
5
if hasattr(bzrlib.commands, 'register_plugin_command'):
 
6
    commands = [push.cmd_push, annotate.cmd_annotate, shelf.cmd_shelve, 
 
7
                shelf.cmd_unshelve]
 
8
    for command in commands:
 
9
        bzrlib.commands.register_plugin_command(command)