new ChunkGenerator(outRaw, clogMap).iterate(s, fileRevs.toArray(true));
outRaw.writeInt(0); // null chunk for file group
}
}
outRaw.writeInt(0); // null chunk to indicate no more files (although BundleFormat page doesn't mention this)
outRaw.done();
osBundle.flush();
osBundle.close();
//return new HgBundle(repo.getSessionContext(), repo.getDataAccess(), bundleFile);
return bundleFile;
}