Mercurial > jhg
diff cmdline/org/tmatesoft/hg/console/Status.java @ 456:909306e412e2
Refactor LogFacility and SessionContext, better API for both
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Mon, 18 Jun 2012 16:54:00 +0200 |
parents | 36fd1fd06492 |
children | 1499139a600a |
line wrap: on
line diff
--- a/cmdline/org/tmatesoft/hg/console/Status.java Wed Jun 13 21:07:39 2012 +0200 +++ b/cmdline/org/tmatesoft/hg/console/Status.java Mon Jun 18 16:54:00 2012 +0200 @@ -33,6 +33,7 @@ import org.tmatesoft.hg.core.HgStatus.Kind; import org.tmatesoft.hg.core.HgStatusCommand; import org.tmatesoft.hg.core.HgStatusHandler; +import org.tmatesoft.hg.util.Outcome; import org.tmatesoft.hg.util.Path; /** @@ -86,7 +87,7 @@ } } - public void error(Path file, org.tmatesoft.hg.util.Outcome s) { + public void error(Path file, Outcome s) { System.out.printf("FAILURE: %s %s\n", s.getMessage(), file); s.getException().printStackTrace(System.out); }