diff cmdline/org/tmatesoft/hg/console/Main.java @ 275:6d1804fe0ed7

Issue 10: Report file content length with respect of metadata. Respect dirstate parents for WC's status. Exceptions to keep useful attributes of the location
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Thu, 25 Aug 2011 21:35:03 +0200
parents c6450b0b1fd5
children 81e9a3c9bafe
line wrap: on
line diff
--- a/cmdline/org/tmatesoft/hg/console/Main.java	Thu Aug 25 03:57:39 2011 +0200
+++ b/cmdline/org/tmatesoft/hg/console/Main.java	Thu Aug 25 21:35:03 2011 +0200
@@ -25,6 +25,7 @@
 import java.util.Map;
 
 import org.junit.Assert;
+import org.tmatesoft.hg.core.HgDataStreamException;
 import org.tmatesoft.hg.core.HgLogCommand;
 import org.tmatesoft.hg.core.HgCatCommand;
 import org.tmatesoft.hg.core.HgFileInformer;
@@ -445,7 +446,7 @@
 	}
 
 
-	private void testStatusInternals() {
+	private void testStatusInternals() throws HgDataStreamException {
 		HgDataFile n = hgRepo.getFileNode(Path.create("design.txt"));
 		for (String s : new String[] {"011dfd44417c72bd9e54cf89b82828f661b700ed", "e5529faa06d53e06a816e56d218115b42782f1ba", "c18e7111f1fc89a80a00f6a39d51288289a382fc"}) {
 			// expected: 359, 2123, 3079