~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Robert Collins
  • Date: 2006-06-10 16:36:40 UTC
  • mto: (1767.2.2 integration)
  • mto: This revision was merged to the branch mainline in revision 1769.
  • Revision ID: robertc@robertcollins.net-20060610163640-6e698ef82c39d3cf
Steps towards a nicer smart add - unwind the conditional add logic - having parents not in the inventory was overly complicating the rest of the code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
280
280
        import bzrlib.add
281
281
 
282
282
        action = bzrlib.add.AddAction(to_file=self.outf,
283
 
            should_add=(not dry_run), should_print=(not is_quiet()))
 
283
            should_print=(not is_quiet()))
284
284
 
285
285
        added, ignored = bzrlib.add.smart_add(file_list, not no_recurse, 
286
 
                                              action=action)
 
286
                                              action=action, save=not dry_run)
287
287
        if len(ignored) > 0:
288
288
            if verbose:
289
289
                for glob in sorted(ignored.keys()):