ConfigurationChange configChanges = new ConfigurationChange();
copy.apply(changes, configChanges);
// Always update the configuration ...
RunningState oldState = this.runningState.get();
this.config.set(new RepositoryConfiguration(copy.unwrap(), copy.getString(FieldName.NAME),
oldConfiguration.environment()));
if (oldState != null) {
assert state.get() == State.RUNNING;
// Repository is running, so create a new running state ...
this.runningState.set(new RunningState(oldState, configChanges));