Mercurial > jhg
comparison cmdline/org/tmatesoft/hg/console/Status.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 | 31a89587eb04 |
| children | 909306e412e2 |
comparison
equal
deleted
inserted
replaced
| 453:7b883bf03b14 | 454:36fd1fd06492 |
|---|---|
| 84 if (s.isCopy() && showCopies) { | 84 if (s.isCopy() && showCopies) { |
| 85 copies.put(s.getPath(), s.getOriginalPath()); | 85 copies.put(s.getPath(), s.getOriginalPath()); |
| 86 } | 86 } |
| 87 } | 87 } |
| 88 | 88 |
| 89 public void error(Path file, org.tmatesoft.hg.util.Status s) { | 89 public void error(Path file, org.tmatesoft.hg.util.Outcome s) { |
| 90 System.out.printf("FAILURE: %s %s\n", s.getMessage(), file); | 90 System.out.printf("FAILURE: %s %s\n", s.getMessage(), file); |
| 91 s.getException().printStackTrace(System.out); | 91 s.getException().printStackTrace(System.out); |
| 92 } | 92 } |
| 93 | 93 |
| 94 public void dump() { | 94 public void dump() { |
