mirror of
https://github.com/NixOS/nix.git
synced 2025-11-27 04:30:59 +01:00
fix for queryStoreReferences
This commit is contained in:
parent
84d00db70b
commit
a699c6b330
11 changed files with 132 additions and 53 deletions
|
|
@ -128,13 +128,6 @@ void revertToRevisionTxn(const Transaction & txn, const Path & statePath, const
|
|||
Snapshots revisioned_paths = (*i).second;
|
||||
unsigned int timestamp = getTimestamps[statePath];
|
||||
|
||||
|
||||
//get its derivation-state-items
|
||||
//Derivation statePath_drv = derivationFromPathTxn(txn, queryStatePathDrvTxn(txn, statePath));
|
||||
//DerivationStateOutputDirs stateOutputDirs = statePath_drv.stateOutputDirs;
|
||||
|
||||
//TODO Sort snapshots??? eg first restore root, then the subdirs??
|
||||
|
||||
for (Snapshots::iterator j = revisioned_paths.begin(); j != revisioned_paths.end(); ++j){
|
||||
Path revertPathOrFile = (*j).first;
|
||||
unsigned int epoch = (*j).second;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue