Mercurial > jhg
comparison cmdline/org/tmatesoft/hg/console/Main.java @ 360:150500515714
Report non-critical errors during status operation to handler/inspector
| author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
|---|---|
| date | Thu, 08 Dec 2011 22:19:27 +0100 |
| parents | 5f9073eabf06 |
| children | 4937e35b805b |
comparison
equal
deleted
inserted
replaced
| 359:1d9bcab9c50f | 360:150500515714 |
|---|---|
| 638 if (showIgnored) { | 638 if (showIgnored) { |
| 639 print('I', fname); | 639 print('I', fname); |
| 640 } | 640 } |
| 641 } | 641 } |
| 642 | 642 |
| 643 public void invalid(Path fname, Exception ex) { | |
| 644 System.out.printf("FAILURE: %s\n", fname); | |
| 645 ex.printStackTrace(System.out); | |
| 646 } | |
| 647 | |
| 643 private void print(char status, Path fname) { | 648 private void print(char status, Path fname) { |
| 644 if (!hideStatusPrefix) { | 649 if (!hideStatusPrefix) { |
| 645 System.out.print(status); | 650 System.out.print(status); |
| 646 System.out.print(' '); | 651 System.out.print(' '); |
| 647 } | 652 } |
