public ErrorCollectorExt errorCollector = new ErrorCollectorExt();
@Test
public void testCreateBundle() throws Exception {
final HgRepository hgRepo = Configuration.get().own();
BundleGenerator bg = new BundleGenerator(HgInternals.getImplementationRepo(hgRepo));
ArrayList<Nodeid> l = new ArrayList<Nodeid>();
l.add(Nodeid.fromAscii("9ef1fab9f5e3d51d70941121dc27410e28069c2d")); // 640
l.add(Nodeid.fromAscii("2f33f102a8fa59274a27ebbe1c2903cecac6c5d5")); // 639
l.add(Nodeid.fromAscii("d074971287478f69ab0a64176ce2284d8c1e91c3")); // 638
File bundleFile = bg.create(l);
HgBundle b = new HgLookup().loadBundle(bundleFile);
//
DumbInspector insp = new DumbInspector();
b.inspectChangelog(insp);
errorCollector.assertTrue(insp.clogEnter && insp.clogExit);