author | Matt Mackall <mpm@selenic.com> |
Wed, 18 Mar 2015 13:38:06 -0500 | |
changeset 24351 | cdc4f3af2497 |
parent 24350 | 7002ad149f30 |
child 24352 | d6dbe4d1c9bc |
--- 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"