~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/log.py

Merge With main tree, move the NEWS entry to the good place.

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)]