diff src/org/tmatesoft/hg/core/HgCatCommand.java @ 237:6e1373b54e9b

Allow access to working copy content through HgDataFile. Give access to repository's working dir
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Fri, 10 Jun 2011 04:35:21 +0200
parents b7347daa50e3
children 3fbfce107f94
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/core/HgCatCommand.java	Thu Jun 09 06:13:43 2011 +0200
+++ b/src/org/tmatesoft/hg/core/HgCatCommand.java	Fri Jun 10 04:35:21 2011 +0200
@@ -21,7 +21,6 @@
 import static org.tmatesoft.hg.repo.HgRepository.TIP;
 
 import java.io.FileNotFoundException;
-import java.io.IOException;
 
 import org.tmatesoft.hg.repo.HgDataFile;
 import org.tmatesoft.hg.repo.HgRepository;
@@ -123,7 +122,7 @@
 	 * @throws HgDataStreamException 
 	 * @throws IllegalArgumentException when command arguments are incomplete or wrong
 	 */
-	public void execute(ByteChannel sink) throws HgDataStreamException, IOException, CancelledException {
+	public void execute(ByteChannel sink) throws HgDataStreamException, CancelledException {
 		if (localRevision == BAD_REVISION && revision == null && cset == null) {
 			throw new IllegalArgumentException("File revision, corresponing local number, or a changset nodeid shall be specified");
 		}