Mercurial > jhg
diff cmdline/org/tmatesoft/hg/console/Main.java @ 350:33eaed1ad130
Allow FileIterator report any errors from the underlaying file system up to the client
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Tue, 29 Nov 2011 03:46:17 +0100 |
parents | a0864b2892cd |
children | 5f9073eabf06 |
line wrap: on
line diff
--- a/cmdline/org/tmatesoft/hg/console/Main.java Thu Nov 24 04:33:42 2011 +0100 +++ b/cmdline/org/tmatesoft/hg/console/Main.java Tue Nov 29 03:46:17 2011 +0100 @@ -19,6 +19,7 @@ import static org.tmatesoft.hg.repo.HgRepository.TIP; import java.io.File; +import java.io.IOException; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; @@ -364,7 +365,7 @@ return String.format("%s %s (%d bytes)", r.getPath(), r.getRevision(), sink.toArray().length); } - private void testFileStatus() { + private void testFileStatus() throws IOException { // final Path path = Path.create("src/org/tmatesoft/hg/util/"); // final Path path = Path.create("src/org/tmatesoft/hg/internal/Experimental.java"); // final Path path = Path.create("missing-dir/");