diff cmdline/org/tmatesoft/hg/console/Main.java @ 345:58725dd511b3

Provide access to revision's origins
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Tue, 22 Nov 2011 03:14:40 +0100
parents 75c452fdd76a
children a0864b2892cd
line wrap: on
line diff
--- a/cmdline/org/tmatesoft/hg/console/Main.java	Tue Nov 22 02:57:14 2011 +0100
+++ b/cmdline/org/tmatesoft/hg/console/Main.java	Tue Nov 22 03:14:40 2011 +0100
@@ -99,7 +99,7 @@
 //		m.testParents();
 //		m.testEffectiveFileLog();
 //		m.testCatAtCsetRevision();
-		m.testMergeState();
+//		m.testMergeState();
 //		m.testFileStatus();
 //		m.dumpBranches();
 //		m.inflaterLengthException();
@@ -108,7 +108,7 @@
 //		m.testStatusInternals();
 //		m.catCompleteHistory();
 //		m.dumpCompleteManifestLow();
-//		m.dumpCompleteManifestHigh();
+		m.dumpCompleteManifestHigh();
 //		m.bunchOfTests();
 	}
 
@@ -496,6 +496,8 @@
 			public void file(HgFileRevision fileRevision) {
 				System.out.print(fileRevision.getRevision());;
 				System.out.print("   ");
+				System.out.printf("%s %s", fileRevision.getParents().first().shortNotation(), fileRevision.getParents().second().shortNotation());
+				System.out.print("   ");
 				System.out.println(fileRevision.getPath());
 			}