this.db = db;
init();
}
@Override
public String commit(Commit commit) throws Exception {
<BUG>Command<Long> command = new CommitCommand(this, commit);
</BUG>
Long revisionId = commandExecutor.execute(command);
return MongoUtil.fromMongoRepresentation(revisionId);
}

this.db = db;
init();
}
@Override
public String commit(Commit commit) throws Exception {
Command<Long> command = new CommitCommandNew(this, commit);
Long revisionId = commandExecutor.execute(command);
return MongoUtil.fromMongoRepresentation(revisionId);
}
