comparison src/org/tmatesoft/hg/core/ChangesetTransformer.java @ 427:31a89587eb04

FIXMEs: consistent names, throws for commands and their handlers. Use of checked exceptions in hi-level api
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Thu, 29 Mar 2012 17:14:35 +0200
parents 9c9c442b5f2e
children 12f668401613
comparison
equal deleted inserted replaced
426:063b0663495a 427:31a89587eb04
69 return; 69 return;
70 } 70 }
71 71
72 HgChangeset changeset = t.handle(revisionNumber, nodeid, cset); 72 HgChangeset changeset = t.handle(revisionNumber, nodeid, cset);
73 try { 73 try {
74 handler.next(changeset); 74 handler.cset(changeset);
75 cancelHelper.checkCancelled(); 75 cancelHelper.checkCancelled();
76 } catch (HgCallbackTargetException ex) { 76 } catch (HgCallbackTargetException ex) {
77 failure = ex.setRevision(nodeid).setRevisionIndex(revisionNumber); 77 failure = ex.setRevision(nodeid).setRevisionIndex(revisionNumber);
78 } catch (CancelledException ex) { 78 } catch (CancelledException ex) {
79 cancellation = ex; 79 cancellation = ex;