comparison src/org/tmatesoft/hg/core/HgOutgoingCommand.java @ 380:9517df1ef7ec

Comments/javadoc
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Thu, 09 Feb 2012 18:57:14 +0100
parents 189dc6dc1c3e
children 7f136a3fa671
comparison
equal deleted inserted replaced
379:fa2be7a05af6 380:9517df1ef7ec
91 /** 91 /**
92 * Lightweight check for outgoing changes. 92 * Lightweight check for outgoing changes.
93 * Reported changes are from any branch (limits set by {@link #branch(String)} are not taken into account. 93 * Reported changes are from any branch (limits set by {@link #branch(String)} are not taken into account.
94 * 94 *
95 * @return list on local nodes known to be missing at remote server 95 * @return list on local nodes known to be missing at remote server
96 * @throws HgRemoteConnectionException FIXME 96 * @throws HgRemoteConnectionException when failed to communicate with remote repository
97 * @throws HgInvalidControlFileException FIXME 97 * @throws HgInvalidControlFileException if access to revlog index/data entry failed
98 * @throws CancelledException FIXME 98 * @throws CancelledException if execution of the command was cancelled
99 */ 99 */
100 public List<Nodeid> executeLite() throws HgRemoteConnectionException, HgInvalidControlFileException, CancelledException { 100 public List<Nodeid> executeLite() throws HgRemoteConnectionException, HgInvalidControlFileException, CancelledException {
101 final ProgressSupport ps = getProgressSupport(null); 101 final ProgressSupport ps = getProgressSupport(null);
102 try { 102 try {
103 ps.start(10); 103 ps.start(10);
109 109
110 /** 110 /**
111 * Complete information about outgoing changes 111 * Complete information about outgoing changes
112 * 112 *
113 * @param handler delegate to process changes 113 * @param handler delegate to process changes
114 * @throws HgRemoteConnectionException when failed to communicate with remote repository
115 * @throws HgInvalidControlFileException if access to revlog index/data entry failed
116 * @throws HgCallbackTargetException to re-throw exception from the handler
117 * @throws CancelledException if execution of the command was cancelled
114 */ 118 */
115 public void executeFull(final HgChangesetHandler handler) throws HgRemoteConnectionException, HgInvalidControlFileException, HgCallbackTargetException, CancelledException { 119 public void executeFull(final HgChangesetHandler handler) throws HgRemoteConnectionException, HgInvalidControlFileException, HgCallbackTargetException, CancelledException {
116 if (handler == null) { 120 if (handler == null) {
117 throw new IllegalArgumentException("Delegate can't be null"); 121 throw new IllegalArgumentException("Delegate can't be null");
118 } 122 }