comparison src/org/tmatesoft/hg/repo/HgChangelog.java @ 360:150500515714

Report non-critical errors during status operation to handler/inspector
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Thu, 08 Dec 2011 22:19:27 +0100
parents 5f9073eabf06
children d9dfa9fe9cec
comparison
equal deleted inserted replaced
359:1d9bcab9c50f 360:150500515714
236 } catch (CloneNotSupportedException ex) { 236 } catch (CloneNotSupportedException ex) {
237 throw new InternalError(ex.toString()); 237 throw new InternalError(ex.toString());
238 } 238 }
239 } 239 }
240 240
241 // FIXME internal class DataAccess as part of API
241 public static RawChangeset parse(DataAccess da) { 242 public static RawChangeset parse(DataAccess da) {
242 try { 243 try {
243 byte[] data = da.byteArray(); 244 byte[] data = da.byteArray();
244 RawChangeset rv = new RawChangeset(); 245 RawChangeset rv = new RawChangeset();
245 rv.init(data, 0, data.length, null); 246 rv.init(data, 0, data.length, null);