comparison 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
comparison
equal deleted inserted replaced
127:2e395db595e2 128:44b97930570c
200 breakIndex4--; 200 breakIndex4--;
201 } 201 }
202 String _comment; 202 String _comment;
203 try { 203 try {
204 _comment = new String(data, breakIndex4+2, bufferEndIndex - breakIndex4 - 2, "UTF-8"); 204 _comment = new String(data, breakIndex4+2, bufferEndIndex - breakIndex4 - 2, "UTF-8");
205 // FIXME respect ui.fallbackencoding and try to decode if set
205 } catch (UnsupportedEncodingException ex) { 206 } catch (UnsupportedEncodingException ex) {
206 _comment = ""; 207 _comment = "";
207 throw new IllegalStateException("Could hardly happen"); 208 throw new IllegalStateException("Could hardly happen");
208 } 209 }
209 // change this instance at once, don't leave it partially changes in case of error 210 // change this instance at once, don't leave it partially changes in case of error