~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/merge.py

  • Committer: James Westby
  • Date: 2008-01-28 21:46:16 UTC
  • mto: (3209.1.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 3210.
  • Revision ID: jw+debian@jameswestby.net-20080128214616-9l1gs91fgnk41wex
Make pull --quiet more quiet. Fixes #185907.

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
from progress import DummyProgress, ProgressPhase
48
48
from bzrlib.revision import (NULL_REVISION, ensure_null)
49
49
from bzrlib.textfile import check_text_lines
50
 
from bzrlib.trace import mutter, warning, note
 
50
from bzrlib.trace import mutter, warning, note, is_quiet
51
51
from bzrlib.transform import (TransformPreview, TreeTransform,
52
52
                              resolve_conflicts, cook_conflicts,
53
53
                              conflict_pass, FinalPaths, create_by_entry,
439
439
                self.base_tree.unlock()
440
440
            self.this_tree.unlock()
441
441
        if len(merge.cooked_conflicts) == 0:
442
 
            if not self.ignore_zero:
 
442
            if not self.ignore_zero and not is_quiet():
443
443
                note("All changes applied successfully.")
444
444
        else:
445
445
            note("%d conflicts encountered." % len(merge.cooked_conflicts))