tests/test-issue436.t
author Yuya Nishihara <yuya@tcha.org>
Sat, 25 Dec 2010 21:59:00 +0900
branchstable
changeset 13225 e3bf16703e26
parent 12328 b63f6422d2a7
permissions -rw-r--r--
util: fix ellipsis() not to break multi-byte sequence (issue2564) It tries to convert localstr to unicode before truncating. Because we cannot assume that the given text is encoded in local encoding, it falls back to raw string in case of unicode error.

http://mercurial.selenic.com/bts/issue436

  $ hg init
  $ hg -v log -v
  $ hg -v log -v x