~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Robert Collins
  • Date: 2007-07-04 04:28:57 UTC
  • mto: This revision was merged to the branch mainline in revision 2581.
  • Revision ID: robertc@robertcollins.net-20070704042857-w5472bxutvhxrl2y
Really really change the command to use the new API.

Show diffs side-by-side

added added

removed removed

Lines of Context:
389
389
                tree = WorkingTree.open_containing(file_list[0])[0]
390
390
            else:
391
391
                tree = WorkingTree.open_containing(u'.')[0]
392
 
            added, ignored = bzrlib.add.smart_add_tree(tree, file_list, not
 
392
            added, ignored = tree.smart_add(file_list, not
393
393
                no_recurse, action=action, save=not dry_run)
394
394
        finally:
395
395
            if base_tree is not None: