}
final Internals implRepo = Internals.getInstance(repo);
CommitFacility cf = new CommitFacility(implRepo, parentRevs[0], parentRevs[1]);
for (Path m : status.getModified()) {
HgDataFile df = repo.getFileNode(m);
cf.add(df, new WorkingCopyContent(df));
}
for (Path a : status.getAdded()) {
HgDataFile df = repo.getFileNode(a); // TODO need smth explicit, like repo.createNewFileNode(Path) here
// XXX might be an interesting exercise not to demand a content supplier, but instead return a "DataRequester"
// object, that would indicate interest in data, and this code would "push" it to requester, so that any exception