1. TortoiseHg
  2. TortoiseHg
  3. thg

Commits

Angel Ezquerra  committed 3bfffc9

hglib: replace tabs for a single space in longsummaries

This results in showing more useful text on longsummaries.

  • Participants
  • Parent commits cfa8d40
  • Branches default

Comments (0)

Files changed (1)

File tortoisehg/util/hglib.py

View file
         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: