return commandExecutor.execute(command);
}
@Override
public String getHeadRevision() throws Exception {
GetHeadRevisionCommand command = new GetHeadRevisionCommand(this);
long revisionId = commandExecutor.execute(command);
return MongoUtil.fromMongoRepresentation(revisionId);
}