~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/log.py

  • Committer: Neil Martinsen-Burrell
  • Date: 2011-05-09 19:23:16 UTC
  • mto: This revision was merged to the branch mainline in revision 5899.
  • Revision ID: nmb@wartburg.edu-20110509192316-2p34981zkr9qw6cw
keep current behavior the same by rounding up

Show diffs side-by-side

added added

removed removed

Lines of Context:
1720
1720
            # show revno only when is not None
1721
1721
            out.append("%s:" % revno)
1722
1722
        if max_chars is not None:
1723
 
            out.append(self.truncate(self.short_author(rev), max_chars/4))
 
1723
            out.append(self.truncate(self.short_author(rev), (max_chars+3)/4))
1724
1724
        else:
1725
1725
            out.append(self.short_author(rev))
1726
1726
        out.append(self.date_string(rev))