comparison src/org/tmatesoft/hg/core/ChangesetTransformer.java @ 367:2fadf8695f8a

Use 'revision index' instead of the vague 'local revision number' concept in the API
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Fri, 16 Dec 2011 15:37:27 +0100
parents ac8e1ce67730
children 2747b0723867
comparison
equal deleted inserted replaced
366:189dc6dc1c3e 367:2fadf8695f8a
72 try { 72 try {
73 handler.next(changeset); 73 handler.next(changeset);
74 progressHelper.worked(1); 74 progressHelper.worked(1);
75 cancelHelper.checkCancelled(); 75 cancelHelper.checkCancelled();
76 } catch (RuntimeException ex) { 76 } catch (RuntimeException ex) {
77 failure = new HgCallbackTargetException(ex).setRevision(nodeid).setRevisionNumber(revisionNumber); 77 failure = new HgCallbackTargetException(ex).setRevision(nodeid).setRevisionIndex(revisionNumber);
78 } catch (CancelledException ex) { 78 } catch (CancelledException ex) {
79 cancellation = ex; 79 cancellation = ex;
80 } 80 }
81 } 81 }
82 82