Mercurial > jhg
diff src/org/tmatesoft/hg/repo/Changeset.java @ 128:44b97930570c
Introduced ChangelogHelper to look up changesets files were modified in
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Wed, 16 Feb 2011 20:13:41 +0100 |
parents | a3a2e5deb320 |
children |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/Changeset.java Wed Feb 16 18:42:10 2011 +0100 +++ b/src/org/tmatesoft/hg/repo/Changeset.java Wed Feb 16 20:13:41 2011 +0100 @@ -202,6 +202,7 @@ String _comment; try { _comment = new String(data, breakIndex4+2, bufferEndIndex - breakIndex4 - 2, "UTF-8"); + // FIXME respect ui.fallbackencoding and try to decode if set } catch (UnsupportedEncodingException ex) { _comment = ""; throw new IllegalStateException("Could hardly happen");