comparison 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
comparison
equal deleted inserted replaced
454:36fd1fd06492 456:909306e412e2
31 import org.tmatesoft.hg.core.HgRepoFacade; 31 import org.tmatesoft.hg.core.HgRepoFacade;
32 import org.tmatesoft.hg.core.HgStatus; 32 import org.tmatesoft.hg.core.HgStatus;
33 import org.tmatesoft.hg.core.HgStatus.Kind; 33 import org.tmatesoft.hg.core.HgStatus.Kind;
34 import org.tmatesoft.hg.core.HgStatusCommand; 34 import org.tmatesoft.hg.core.HgStatusCommand;
35 import org.tmatesoft.hg.core.HgStatusHandler; 35 import org.tmatesoft.hg.core.HgStatusHandler;
36 import org.tmatesoft.hg.util.Outcome;
36 import org.tmatesoft.hg.util.Path; 37 import org.tmatesoft.hg.util.Path;
37 38
38 /** 39 /**
39 * 40 *
40 * @author Artem Tikhomirov 41 * @author Artem Tikhomirov
84 if (s.isCopy() && showCopies) { 85 if (s.isCopy() && showCopies) {
85 copies.put(s.getPath(), s.getOriginalPath()); 86 copies.put(s.getPath(), s.getOriginalPath());
86 } 87 }
87 } 88 }
88 89
89 public void error(Path file, org.tmatesoft.hg.util.Outcome s) { 90 public void error(Path file, Outcome s) {
90 System.out.printf("FAILURE: %s %s\n", s.getMessage(), file); 91 System.out.printf("FAILURE: %s %s\n", s.getMessage(), file);
91 s.getException().printStackTrace(System.out); 92 s.getException().printStackTrace(System.out);
92 } 93 }
93 94
94 public void dump() { 95 public void dump() {