/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Gordon Tyler
  • Date: 2009-11-13 00:38:01 UTC
  • mto: (4795.2.3 271790)
  • mto: This revision was merged to the branch mainline in revision 4802.
  • Revision ID: gordon@doxxx.net-20091113003801-17v5taewtwtr8jym
Fixed cmd_mv to use trace.note so that it obeys the --quiet option.

Show diffs side-by-side

added added

removed removed

Lines of Context:
849
849
            # All entries reference existing inventory items, so fix them up
850
850
            # for cicp file-systems.
851
851
            rel_names = tree.get_canonical_inventory_paths(rel_names)
852
 
            for pair in tree.move(rel_names[:-1], rel_names[-1], after=after):
853
 
                self.outf.write("%s => %s\n" % pair)
 
852
            for src, dest in tree.move(rel_names[:-1], rel_names[-1], after=after):
 
853
                note("%s => %s", src, dest)
854
854
        else:
855
855
            if len(names_list) != 2:
856
856
                raise errors.BzrCommandError('to mv multiple files the'
900
900
            dest = osutils.pathjoin(dest_parent, dest_tail)
901
901
            mutter("attempting to move %s => %s", src, dest)
902
902
            tree.rename_one(src, dest, after=after)
903
 
            self.outf.write("%s => %s\n" % (src, dest))
 
903
            note("%s => %s", src, dest)
904
904
 
905
905
 
906
906
class cmd_pull(Command):