diff cmdline/org/tmatesoft/hg/console/Bundle.java @ 190:9b99d27aeddc

More debug printouts
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Thu, 14 Apr 2011 02:48:06 +0200
parents f26ffe04ced0
children 45dc79e545f5
line wrap: on
line diff
--- a/cmdline/org/tmatesoft/hg/console/Bundle.java	Thu Apr 14 02:47:47 2011 +0200
+++ b/cmdline/org/tmatesoft/hg/console/Bundle.java	Thu Apr 14 02:48:06 2011 +0200
@@ -40,9 +40,12 @@
 			System.err.printf("Can't find repository in: %s\n", hgRepo.getLocation());
 			return;
 		}
-		File bundleFile = new File("/temp/hg/hg-bundle-a78c980749e3.tmp");
+		File bundleFile = new File("/temp/hg/hg-bundle-cpython.tmp");
 		HgBundle hgBundle = new HgLookup().loadBundle(bundleFile);
-//		hgBundle.dump();
+		hgBundle.inspectFiles(new HgBundle.Dump());
+		if (Boolean.parseBoolean("true")) {
+			return;
+		}
 		/* pass -R <path-to-repo-with-less-revisions-than-bundle>, e.g. for bundle with tip=168 and -R \temp\hg4j-50 with tip:159
 		+Changeset {User: ..., Comment: Integer ....}
 		+Changeset {User: ..., Comment: Approach with ...}