~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: Aaron Bentley
  • Date: 2006-05-18 14:19:48 UTC
  • Revision ID: abentley@panoramicfeedback.com-20060518141948-7c5c473382991df5
Got import command working

Show diffs side-by-side

added added

removed removed

Lines of Context:
369
369
        from branch_mark import branch_mark
370
370
        branch_mark(mark, branch, delete)
371
371
 
 
372
class cmd_import(bzrlib.commands.Command):
 
373
    takes_args = ['source']
 
374
    def run(self, source):
 
375
        from upstream_import import do_import
 
376
        do_import(source)
 
377
                
 
378
 
 
379
 
372
380
 
373
381
commands = [cmd_shelve, cmd_unshelve, cmd_shelf, cmd_clean_tree,
374
382
            cmd_graph_ancestry, cmd_fetch_ghosts, cmd_patch, cmd_shell,
375
383
            cmd_branch_history, cmd_zap, cmd_cbranch, cmd_branches, 
376
 
            cmd_multi_pull, cmd_switch, cmd_branch_mark]
 
384
            cmd_multi_pull, cmd_switch, cmd_branch_mark, cmd_import]
377
385
 
378
386
 
379
387