866
866
def log_string(self, revno, rev, max_chars):
867
867
"""Format log info into one string. Truncate tail of string
869
869
Revision numbers counts from 1.
870
870
:param rev: revision info object
871
871
:param max_chars: maximum length of resulting string