/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/branch.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:
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