Mercurial > jhg
comparison 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 |
comparison
equal
deleted
inserted
replaced
189:e9d275fb0bc0 | 190:9b99d27aeddc |
---|---|
38 final HgRepository hgRepo = cmdLineOpts.findRepository(); | 38 final HgRepository hgRepo = cmdLineOpts.findRepository(); |
39 if (hgRepo.isInvalid()) { | 39 if (hgRepo.isInvalid()) { |
40 System.err.printf("Can't find repository in: %s\n", hgRepo.getLocation()); | 40 System.err.printf("Can't find repository in: %s\n", hgRepo.getLocation()); |
41 return; | 41 return; |
42 } | 42 } |
43 File bundleFile = new File("/temp/hg/hg-bundle-a78c980749e3.tmp"); | 43 File bundleFile = new File("/temp/hg/hg-bundle-cpython.tmp"); |
44 HgBundle hgBundle = new HgLookup().loadBundle(bundleFile); | 44 HgBundle hgBundle = new HgLookup().loadBundle(bundleFile); |
45 // hgBundle.dump(); | 45 hgBundle.inspectFiles(new HgBundle.Dump()); |
46 if (Boolean.parseBoolean("true")) { | |
47 return; | |
48 } | |
46 /* 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 | 49 /* 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 |
47 +Changeset {User: ..., Comment: Integer ....} | 50 +Changeset {User: ..., Comment: Integer ....} |
48 +Changeset {User: ..., Comment: Approach with ...} | 51 +Changeset {User: ..., Comment: Approach with ...} |
49 -Changeset {User: ..., Comment: Correct project name...} | 52 -Changeset {User: ..., Comment: Correct project name...} |
50 -Changeset {User: ..., Comment: Record possible...} | 53 -Changeset {User: ..., Comment: Record possible...} |