Mercurial > jhg
comparison src/org/tmatesoft/hg/core/HgAnnotateCommand.java @ 586:73c20c648c1f
HgCommitCommand initial support
| author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
|---|---|
| date | Fri, 26 Apr 2013 18:38:41 +0200 |
| parents | ed243b668502 |
| children | 707b5c7c6fa4 |
comparison
equal
deleted
inserted
replaced
| 585:b47ef0d2777b | 586:73c20c648c1f |
|---|---|
| 90 return this; | 90 return this; |
| 91 } | 91 } |
| 92 | 92 |
| 93 // TODO [1.1] set encoding and provide String line content from LineInfo | 93 // TODO [1.1] set encoding and provide String line content from LineInfo |
| 94 | 94 |
| 95 /** | |
| 96 * Annotate selected file | |
| 97 * | |
| 98 * @param inspector | |
| 99 * @throws HgException subclass thereof to indicate specific issue with the command arguments or repository state | |
| 100 * @throws HgCallbackTargetException | |
| 101 * @throws CancelledException if execution of the command was cancelled | |
| 102 */ | |
| 95 public void execute(Inspector inspector) throws HgException, HgCallbackTargetException, CancelledException { | 103 public void execute(Inspector inspector) throws HgException, HgCallbackTargetException, CancelledException { |
| 96 if (inspector == null) { | 104 if (inspector == null) { |
| 97 throw new IllegalArgumentException(); | 105 throw new IllegalArgumentException(); |
| 98 } | 106 } |
| 99 if (file == null) { | 107 if (file == null) { |
