Commits

Angel Ezquerra committed 3bfffc9

hglib: replace tabs for a single space in longsummaries

This results in showing more useful text on longsummaries.

Comments (0)

Files changed (1)

tortoisehg/util/hglib.py

         for raw_line in lines[1:]:
             if len(summary) >= limit:
                 break
-            line = raw_line.strip()
+            line = raw_line.strip().replace('\t', ' ')
             if line:
                 summary += u'  ' + line
         if len(summary) > limit: