1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-26 20:20:58 +01:00

Used Rsync for reverting state.

This commit is contained in:
Wouter den Breejen 2007-10-17 11:16:57 +00:00
parent 138973a6d5
commit 84d00db70b
5 changed files with 33 additions and 71 deletions

View file

@ -736,10 +736,10 @@ static void installDerivations(Globals & globals,
comparePaths.insert(statePath);
comparePaths.insert(read_statePath);
if(store->toNonSharedPathSet(comparePaths).size() != 1) //TODO !!!!!!!!!!!!!??
rsyncPaths(externalState, statePath);
rsyncPaths(externalState, statePath, true);
}
else
rsyncPaths(externalState, statePath);
rsyncPaths(externalState, statePath, true);
deletePath(externalState);
}