Mercurial > jhg
comparison src/org/tmatesoft/hg/core/HgOutgoingCommand.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 | c9b305df0b89 |
children | 63c9fed4369e |
comparison
equal
deleted
inserted
replaced
204:883f1efbcf27 | 205:ffc5f6d59f7e |
---|---|
99 /** | 99 /** |
100 * Complete information about outgoing changes | 100 * Complete information about outgoing changes |
101 * | 101 * |
102 * @param handler delegate to process changes | 102 * @param handler delegate to process changes |
103 */ | 103 */ |
104 public void executeFull(final HgLogCommand.Handler handler) throws HgException, CancelledException { | 104 public void executeFull(final HgChangesetHandler handler) throws HgException, CancelledException { |
105 if (handler == null) { | 105 if (handler == null) { |
106 throw new IllegalArgumentException("Delegate can't be null"); | 106 throw new IllegalArgumentException("Delegate can't be null"); |
107 } | 107 } |
108 ChangesetTransformer inspector = new ChangesetTransformer(localRepo, handler, getParentHelper()); | 108 ChangesetTransformer inspector = new ChangesetTransformer(localRepo, handler, getParentHelper()); |
109 inspector.limitBranches(branches); | 109 inspector.limitBranches(branches); |