~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: Aaron Bentley
  • Date: 2012-01-20 02:07:15 UTC
  • Revision ID: aaron@aaronbentley.com-20120120020715-ar6jbqnrjcuebggz
Tags: release-2.5
Update for 2.5 release.

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)