diff src/org/tmatesoft/hg/core/HgStatusCommand.java @ 454:36fd1fd06492

oth.util.Status renamed to Outcome as the noun is too overloaded, especially in scm
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Wed, 13 Jun 2012 21:07:39 +0200
parents cd658b24a620
children d78cb5ca3053
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/core/HgStatusCommand.java	Wed Jun 13 18:18:37 2012 +0200
+++ b/src/org/tmatesoft/hg/core/HgStatusCommand.java	Wed Jun 13 21:07:39 2012 +0200
@@ -32,7 +32,7 @@
 import org.tmatesoft.hg.util.CancelSupport;
 import org.tmatesoft.hg.util.CancelledException;
 import org.tmatesoft.hg.util.Path;
-import org.tmatesoft.hg.util.Status;
+import org.tmatesoft.hg.util.Outcome;
 
 /**
  * Command to obtain file status information, 'hg status' counterpart. 
@@ -321,7 +321,7 @@
 		
 		public void invalid(Path fname, Exception err) {
 			try {
-				handler.error(fname, new Status(Status.Kind.ERROR, "Failed to get file status", err));
+				handler.error(fname, new Outcome(Outcome.Kind.Failure, "Failed to get file status", err));
 				handlerCancelSupport.checkCancelled();
 			} catch (HgCallbackTargetException ex) {
 				failure = ex;