DataStore dataStore = repConfig.getDataStore();
if (dataStore != null) {
context.setDataStore(dataStore);
}
nodeIdFactory = new NodeIdFactory(repConfig.getHomeDir());
nodeIdFactory.open();
context.setNodeIdFactory(nodeIdFactory);
context.setWorkspaceManager(new WorkspaceManager(this));