comparison src/org/tmatesoft/hg/core/HgLogCommand.java @ 275:6d1804fe0ed7

Issue 10: Report file content length with respect of metadata. Respect dirstate parents for WC's status. Exceptions to keep useful attributes of the location
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Thu, 25 Aug 2011 21:35:03 +0200
parents 1874d11054e5
children ee6b467c1a5f
comparison
equal deleted inserted replaced
274:9fb50c04f03c 275:6d1804fe0ed7
177 */ 177 */
178 public List<HgChangeset> execute() throws HgDataStreamException { 178 public List<HgChangeset> execute() throws HgDataStreamException {
179 CollectHandler collector = new CollectHandler(); 179 CollectHandler collector = new CollectHandler();
180 try { 180 try {
181 execute(collector); 181 execute(collector);
182 } catch (HgCallbackTargetException ex) { 182 } catch (HgException ex) {
183 // can't happen as long as our CollectHandler doesn't throw any exception 183 // can't happen as long as our CollectHandler doesn't throw any exception
184 throw new HgBadStateException(ex.getCause()); 184 throw new HgBadStateException(ex.getCause());
185 } catch (CancelledException ex) { 185 } catch (CancelledException ex) {
186 // can't happen, see above 186 // can't happen, see above
187 throw new HgBadStateException(ex); 187 throw new HgBadStateException(ex);