Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in tip

stable grep: don't drop last character of history search result (fixes #1049)

The code was intended to remove trailing null, but 'text' doesn't contain
null terminator since fa7e26d2a434.

Changeset 88e7a6c9b120

Parent 5effd158b79a

by Yuya Nishihara

Changes to one file · Browse files at 88e7a6c9b120 Showing diff from parent 5effd158b79a Diff from another changeset...

 
402
403
404
405
406
 
407
408
409
 
402
403
404
 
 
405
406
407
408
@@ -402,8 +402,7 @@
  self.fullmsg.split('\0', 6)   text = hglib.tounicode(text)   text = Qt.escape(text) - text = '<b>%s</b> <span>%s</span>' % ( - addremove, text[:-1]) + text = '<b>%s</b> <span>%s</span>' % (addremove, text)   row = [fname, rev, line, user, text]   emitrow(row)   except ValueError: