~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/log.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-05-12 23:48:49 UTC
  • mfrom: (1704.2.13 bzr.mbp.integration)
  • Revision ID: pqm@pqm.ubuntu.com-20060512234849-259ff209fff58489
(mbp) various fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
443
443
            return rev.message
444
444
 
445
445
    def show(self, revno, rev, delta):
446
 
        print >> self.to_file, self.log_string(rev, 79) 
 
446
        from bzrlib.osutils import terminal_width
 
447
        print >> self.to_file, self.log_string(rev, terminal_width() - 1) 
447
448
 
448
449
    def log_string(self, rev, max_chars):
449
450
        out = [self.truncate(self.short_committer(rev), 20)]