~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-02-01 03:46:12 UTC
  • mfrom: (3209.1.1 ianc-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20080201034612-xl88s8i45res3pm2
Make pull --quiet more quiet (James Westby)

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
                                      zero_eight, zero_nine, zero_sixteen,
63
63
                                      zero_ninetyone,
64
64
                                      )
65
 
from bzrlib.trace import mutter, mutter_callsite, note
 
65
from bzrlib.trace import mutter, mutter_callsite, note, is_quiet
66
66
 
67
67
 
68
68
BZR_BRANCH_FORMAT_4 = "Bazaar-NG branch, format 0.0.4\n"
2129
2129
        return self.new_revno - self.old_revno
2130
2130
 
2131
2131
    def report(self, to_file):
2132
 
        if self.old_revid == self.new_revid:
2133
 
            to_file.write('No revisions to pull.\n')
2134
 
        else:
2135
 
            to_file.write('Now on revision %d.\n' % self.new_revno)
 
2132
        if not is_quiet():
 
2133
            if self.old_revid == self.new_revid:
 
2134
                to_file.write('No revisions to pull.\n')
 
2135
            else:
 
2136
                to_file.write('Now on revision %d.\n' % self.new_revno)
2136
2137
        self._show_tag_conficts(to_file)
2137
2138
 
2138
2139