~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: Aaron Bentley
  • Date: 2006-06-03 17:52:15 UTC
  • Revision ID: aaron.bentley@utoronto.ca-20060603175215-3446ebc88bb9c55a
Updates from the bzr clean-tree branch

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
7
6
import rspush
8
7
from errors import CommandError
9
8
from patchsource import BzrPatchSource
384
383
        do_import(source, tree)
385
384
 
386
385
 
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)
 
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]
395
390
 
396
391
 
397
392
import bzrlib.builtins
435
430
    import tests
436
431
    from doctest import DocTestSuite, ELLIPSIS
437
432
    from unittest import TestSuite
438
 
    import clean_tree
 
433
    import tests.clean_tree
439
434
    import upstream_import
440
435
    import zap
441
436
    import tests.blackbox
442
437
    import tests.shelf_tests
443
438
    result = TestSuite()
444
439
    result.addTest(DocTestSuite(bzrtools, optionflags=ELLIPSIS))
445
 
    result.addTest(clean_tree.test_suite())
 
440
    result.addTest(tests.clean_tree.test_suite())
446
441
    try:
447
442
        import baz_import
448
443
        result.addTest(DocTestSuite(baz_import))