diff src/com/tmate/hgkit/console/Status.java @ 57:8b0d6f1bd6b4

Local status is back
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Mon, 17 Jan 2011 05:54:25 +0100
parents 576d6e8a09f6
children 4cfc47bc14cc
line wrap: on
line diff
--- a/src/com/tmate/hgkit/console/Status.java	Mon Jan 17 05:15:13 2011 +0100
+++ b/src/com/tmate/hgkit/console/Status.java	Mon Jan 17 05:54:25 2011 +0100
@@ -48,14 +48,14 @@
 		//
 		System.out.println("\n\nTry hg status --change <rev>:");
 		sc.change(0, dump);
-//		System.out.println("\nStatus against working dir:");
-//		((LocalHgRepo) hgRepo).statusLocal(TIP, dump);
-//		System.out.println();
-//		System.out.printf("Manifest of the revision %d:\n", r2);
-//		hgRepo.getManifest().walk(r2, r2, new Manifest.Dump());
-//		System.out.println();
-//		System.out.printf("\nStatus of working dir against %d:\n", r2);
-//		((LocalHgRepo) hgRepo).statusLocal(r2, dump);
+		System.out.println("\nStatus against working dir:");
+		((LocalHgRepo) hgRepo).statusLocal(TIP, dump);
+		System.out.println();
+		System.out.printf("Manifest of the revision %d:\n", r2);
+		hgRepo.getManifest().walk(r2, r2, new Manifest.Dump());
+		System.out.println();
+		System.out.printf("\nStatus of working dir against %d:\n", r2);
+		((LocalHgRepo) hgRepo).statusLocal(r2, dump);
 	}
 	
 	private static void sortAndPrint(char prefix, List<String> ul) {