comparison src/org/tmatesoft/hg/core/HgIncomingCommand.java @ 205:ffc5f6d59f7e

HgLogCommand.Handler is used in few places, pull up to top-level class, HgChangesetHandler
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Thu, 28 Apr 2011 02:00:42 +0200
parents 706bcc7cfee4
children ef8eba4aa215
comparison
equal deleted inserted replaced
204:883f1efbcf27 205:ffc5f6d59f7e
122 * Full information about incoming changes 122 * Full information about incoming changes
123 * 123 *
124 * @throws HgException 124 * @throws HgException
125 * @throws CancelledException 125 * @throws CancelledException
126 */ 126 */
127 public void executeFull(final HgLogCommand.Handler handler) throws HgException, CancelledException { 127 public void executeFull(final HgChangesetHandler handler) throws HgException, CancelledException {
128 if (handler == null) { 128 if (handler == null) {
129 throw new IllegalArgumentException("Delegate can't be null"); 129 throw new IllegalArgumentException("Delegate can't be null");
130 } 130 }
131 final List<Nodeid> common = getCommon(handler); 131 final List<Nodeid> common = getCommon(handler);
132 HgBundle changegroup = remoteRepo.getChanges(common); 132 HgBundle changegroup = remoteRepo.getChanges(common);