changeset 24351 | cdc4f3af2497 |
parent 24342 | be3ab98f11e0 |
child 24423 | 01b39e821d00 |
--- a/mercurial/crecord.py Wed Mar 18 13:37:18 2015 -0500 +++ b/mercurial/crecord.py Wed Mar 18 13:38:06 2015 -0500 @@ -872,7 +872,7 @@ width = self.xscreensize # turn tabs into spaces instr = instr.expandtabs(4) - strwidth = encoding.ucolwidth(instr) + strwidth = encoding.colwidth(instr) numspaces = (width - ((strwidth + xstart) % width) - 1) return instr + " " * numspaces + "\n"