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

States can now be (recursively) rolled back and forward :)

This commit is contained in:
Wouter den Breejen 2007-07-08 22:59:44 +00:00
parent 9f00b42f38
commit afb445957d
4 changed files with 25 additions and 18 deletions

View file

@ -196,9 +196,8 @@ LocalStore::LocalStore(bool reserveSpace)
dbComponentStateReferrers = nixDB.openTable("referrers_c_s", true);
dbStateComponentReferrers = nixDB.openTable("referrers_s_c", true);
dbStateStateReferrers = nixDB.openTable("referrers_s_s", true);
dbStateRevisions = nixDB.openTable("staterevisions", true);
dbStateRevisions = nixDB.openTable("staterevisions");
int curSchema = 0;
Path schemaFN = nixDBPath + "/schema";
if (pathExists(schemaFN)) {