~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: Aaron Bentley
  • Date: 2006-06-01 21:36:05 UTC
  • Revision ID: aaron.bentley@utoronto.ca-20060601213605-a6eb373a02f7cc7a
Don't register clean-tree if it's a builtin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
Various useful plugins for working with bzr.
4
4
"""
5
5
import bzrlib.commands
 
6
from bzrlib.commands import builtin_command_names
6
7
import rspush
7
8
from errors import CommandError
8
9
from patchsource import BzrPatchSource
383
384
        do_import(source, tree)
384
385
 
385
386
 
386
 
commands = [cmd_shelve, cmd_unshelve, cmd_shelf, cmd_clean_tree,
387
 
            cmd_graph_ancestry, cmd_fetch_ghosts, cmd_patch, cmd_shell,
388
 
            cmd_branch_history, cmd_zap, cmd_cbranch, cmd_branches, 
389
 
            cmd_multi_pull, cmd_switch, cmd_branch_mark, cmd_import]
 
387
commands = [cmd_shelve, cmd_unshelve, cmd_shelf, cmd_graph_ancestry,
 
388
            cmd_fetch_ghosts, cmd_patch, cmd_shell, cmd_branch_history,
 
389
            cmd_zap, cmd_cbranch, cmd_branches, cmd_multi_pull, cmd_switch,
 
390
            cmd_branch_mark, cmd_import]
 
391
 
 
392
 
 
393
if 'clean-tree' not in builtin_command_names():
 
394
    commands.append(cmd_clean_tree)
390
395
 
391
396
 
392
397
import bzrlib.builtins