# HG changeset patch # User Matt Mackall # Date 1316628041 18000 # Node ID 17688287678051a35f386e4c27fabab8490b0cf1 # Parent 16dc9a32ca04510e5796fece99393fdfc96a5932 encoding: colwidth input is in the local encoding diff -r 16dc9a32ca04 -r 176882876780 mercurial/encoding.py --- a/mercurial/encoding.py Mon Sep 19 15:58:03 2011 -0700 +++ b/mercurial/encoding.py Wed Sep 21 13:00:41 2011 -0500 @@ -139,7 +139,7 @@ and "WFA" or "WF") def colwidth(s): - "Find the column width of a UTF-8 string for display" + "Find the column width of a string for display in the local encoding" return ucolwidth(s.decode(encoding, 'replace')) def ucolwidth(d):