Mercurial > jhg
comparison src/org/tmatesoft/hg/repo/HgDataFile.java @ 632:54e16ab771ec v1.1rc2
Progress/cancel for HgDiffCommand. Renamed execute method
| author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
|---|---|
| date | Thu, 30 May 2013 16:13:43 +0200 |
| parents | 5f52074707b2 |
| children | d07497128747 |
comparison
equal
deleted
inserted
replaced
| 631:8a5cdcb27b8f | 632:54e16ab771ec |
|---|---|
| 464 * @deprecated use {@link HgDiffCommand} instead | 464 * @deprecated use {@link HgDiffCommand} instead |
| 465 */ | 465 */ |
| 466 @Deprecated | 466 @Deprecated |
| 467 public void annotateSingleRevision(int changelogRevisionIndex, HgBlameInspector insp) throws HgRuntimeException, HgCallbackTargetException { | 467 public void annotateSingleRevision(int changelogRevisionIndex, HgBlameInspector insp) throws HgRuntimeException, HgCallbackTargetException { |
| 468 try { | 468 try { |
| 469 new HgDiffCommand(getRepo()).file(this).changeset(changelogRevisionIndex).executeAnnotateSingleRevision(insp); | 469 new HgDiffCommand(getRepo()).file(this).changeset(changelogRevisionIndex).executeParentsAnnotate(insp); |
| 470 } catch (HgLibraryFailureException ex) { | 470 } catch (HgLibraryFailureException ex) { |
| 471 throw ex.getCause(); | 471 throw ex.getCause(); |
| 472 } catch (HgException ex) { | 472 } catch (HgException ex) { |
| 473 throw new HgInvalidStateException(ex.getMessage()); | 473 throw new HgInvalidStateException(ex.getMessage()); |
| 474 } catch (CancelledException ex) { | 474 } catch (CancelledException ex) { |
