mirror of
https://github.com/NixOS/nix.git
synced 2025-11-26 20:20:58 +01:00
This commit is contained in:
parent
588356c30a
commit
c0dceea9f0
12 changed files with 95 additions and 64 deletions
|
|
@ -333,10 +333,11 @@ static void opRunComponent(Strings opFlags, Strings opArgs)
|
|||
r_commit = false;
|
||||
}
|
||||
else if(*i == "--statehelp"){
|
||||
printMsg(lvlError, format("%1%") % padd("", '-', 100));
|
||||
//printMsg(lvlError, format("%1%") % padd("", '-', 100));
|
||||
printHelp();
|
||||
r_scanforReferences = false;
|
||||
r_commit = false;
|
||||
return;
|
||||
}
|
||||
|
||||
//printMsg(lvlError, format("ARG %1%") % *i);
|
||||
|
|
@ -357,7 +358,7 @@ static void opRunComponent(Strings opFlags, Strings opArgs)
|
|||
|
||||
//******************* Scan for new references if neccecary
|
||||
if(r_scanforReferences)
|
||||
store->scanAndUpdateAllReferences(root_statePath, true); //TODO make recursive a paramter?
|
||||
store->scanAndUpdateAllReferences(root_statePath, true); //TODO make recursive a paramter? TXN???
|
||||
|
||||
|
||||
//******************* With everything in place, we call the commit script on all statePaths (in)directly referenced **********************
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue