comparison src/org/tmatesoft/hg/core/HgStatusCommand.java @ 275:6d1804fe0ed7

Issue 10: Report file content length with respect of metadata. Respect dirstate parents for WC's status. Exceptions to keep useful attributes of the location
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Thu, 25 Aug 2011 21:35:03 +0200
parents 1ec6b327a6ac
children 33eaed1ad130
comparison
equal deleted inserted replaced
274:9fb50c04f03c 275:6d1804fe0ed7
160 * 160 *
161 * @param handler callback to get status information 161 * @param handler callback to get status information
162 * @throws IllegalArgumentException if handler is <code>null</code> 162 * @throws IllegalArgumentException if handler is <code>null</code>
163 * @throws ConcurrentModificationException if this command already runs (i.e. being used from another thread) 163 * @throws ConcurrentModificationException if this command already runs (i.e. being used from another thread)
164 */ 164 */
165 public void execute(Handler statusHandler) throws CancellationException, HgCallbackTargetException { 165 public void execute(Handler statusHandler) throws CancellationException, HgException {
166 if (statusHandler == null) { 166 if (statusHandler == null) {
167 throw new IllegalArgumentException(); 167 throw new IllegalArgumentException();
168 } 168 }
169 if (mediator.busy()) { 169 if (mediator.busy()) {
170 throw new ConcurrentModificationException(); 170 throw new ConcurrentModificationException();