# HG changeset patch # User Artem Tikhomirov # Date 1329133644 -3600 # Node ID 994b5813a92548597eb863ae8cdfbf3a9400dfc0 # Parent 82336b7c54f43e2e1bb5cbbd68c736d1197a59e6 Few comments diff -r 82336b7c54f4 -r 994b5813a925 src/org/tmatesoft/hg/core/HgChangesetTreeHandler.java --- a/src/org/tmatesoft/hg/core/HgChangesetTreeHandler.java Fri Feb 10 13:56:24 2012 +0100 +++ b/src/org/tmatesoft/hg/core/HgChangesetTreeHandler.java Mon Feb 13 12:47:24 2012 +0100 @@ -31,7 +31,7 @@ * @param entry access to various pieces of information about current tree node. Instances might be * reused across calls and shall not be kept by client's code * @throws HgCallbackTargetException.Wrap wrapper object for any exception user code may produce. Wrapped exception would get re-thrown with {@link HgCallbackTargetException} - * @throws CancelledException FIXME + * @throws CancelledException if execution of the operation was cancelled */ public void next(HgChangesetTreeHandler.TreeElement entry) throws HgCallbackTargetException.Wrap, CancelledException; diff -r 82336b7c54f4 -r 994b5813a925 src/org/tmatesoft/hg/core/HgLogCommand.java --- a/src/org/tmatesoft/hg/core/HgLogCommand.java Fri Feb 10 13:56:24 2012 +0100 +++ b/src/org/tmatesoft/hg/core/HgLogCommand.java Mon Feb 13 12:47:24 2012 +0100 @@ -204,7 +204,7 @@ * * @param handler callback to process changesets. * @throws HgCallbackTargetException to re-throw exception from the handler - * @throws HgException FIXME + * @throws HgException FIXME EXCEPTIONS * @throws CancelledException if execution of the command was cancelled * @throws IllegalArgumentException when inspector argument is null * @throws ConcurrentModificationException if this log command instance is already running @@ -266,7 +266,7 @@ * TODO documentation * @param handler * @throws HgCallbackTargetException to re-throw exception from the handler - * @throws HgException FIXME + * @throws HgException FIXME EXCEPTIONS * @throws CancelledException if execution of the command was cancelled */ public void execute(HgChangesetTreeHandler handler) throws HgCallbackTargetException, HgException, CancelledException { @@ -366,7 +366,7 @@ } } if (date != null) { - // FIXME + // FIXME implement date support for log } count++; csetTransform.next(revisionNumber, nodeid, cset); diff -r 82336b7c54f4 -r 994b5813a925 src/org/tmatesoft/hg/internal/RepositoryComparator.java --- a/src/org/tmatesoft/hg/internal/RepositoryComparator.java Fri Feb 10 13:56:24 2012 +0100 +++ b/src/org/tmatesoft/hg/internal/RepositoryComparator.java Mon Feb 13 12:47:24 2012 +0100 @@ -486,7 +486,7 @@ toQuery.clear(); } if (rootIndex == -1) { - throw new HgBadStateException("Shall not happen, provided between output is correct"); // FIXME + throw new HgBadStateException("Shall not happen, provided between output is correct"); // FIXME EXCEPTIONS } result[rootIndex] = branchRoot; boolean resultOk = true; @@ -503,7 +503,7 @@ System.out.println("Total queries:" + totalQueries); } if (!resultOk) { - throw new HgBadStateException("See console for details"); // FIXME + throw new HgBadStateException("See console for details"); // FIXME EXCEPTIONS } return fromRootToHead; } diff -r 82336b7c54f4 -r 994b5813a925 src/org/tmatesoft/hg/repo/HgBundle.java --- a/src/org/tmatesoft/hg/repo/HgBundle.java Fri Feb 10 13:56:24 2012 +0100 +++ b/src/org/tmatesoft/hg/repo/HgBundle.java Mon Feb 13 12:47:24 2012 +0100 @@ -169,7 +169,7 @@ } catch (CancelledException ex) { return false; } catch (Exception ex) { - throw new HgBadStateException(ex); // FIXME + throw new HgBadStateException(ex); // FIXME EXCEPTIONS } return true; } diff -r 82336b7c54f4 -r 994b5813a925 src/org/tmatesoft/hg/repo/HgDataFile.java --- a/src/org/tmatesoft/hg/repo/HgDataFile.java Fri Feb 10 13:56:24 2012 +0100 +++ b/src/org/tmatesoft/hg/repo/HgDataFile.java Mon Feb 13 12:47:24 2012 +0100 @@ -204,7 +204,7 @@ * * @param fileRevisionIndex - revision local index, non-negative. From predefined constants, {@link HgRepository#TIP} and {@link HgRepository#WORKING_COPY} make sense. * @param sink - * @throws HgDataStreamException FIXME + * @throws HgDataStreamException FIXME EXCEPTIONS * @throws HgInvalidControlFileException if access to revlog index/data entry failed * @throws CancelledException if execution of the operation was cancelled * @throws HgInvalidRevisionException if supplied argument doesn't represent revision index in this revlog diff -r 82336b7c54f4 -r 994b5813a925 src/org/tmatesoft/hg/repo/HgRemoteRepository.java --- a/src/org/tmatesoft/hg/repo/HgRemoteRepository.java Fri Feb 10 13:56:24 2012 +0100 +++ b/src/org/tmatesoft/hg/repo/HgRemoteRepository.java Mon Feb 13 12:47:24 2012 +0100 @@ -124,7 +124,7 @@ if (Boolean.FALSE.booleanValue()) { throw HgRepository.notImplemented(); } - return false; // FIXME + return false; // FIXME implement remote repository hello/check } /**