Greetings! *** goredo [2021-10-27 17:18]: >At least multiple calls to the same type shouldn't be recorded twice, I guess. Not sure what recording an ifchange and ifcreate dependency simultaneously would actually mean... Dependencies recording is done in very simple way: when we run some redo-* commands, then we open temporary .rec file and pass its opened file descriptor to the redo-* command. That redo-* command just writes to it, appending records to already opened file. So there is literally no "aggregator", just append-only file. I thought that I can replace it with the pipe, that is read by uplevel redo-* process and it can process it anyhow, removing the duplicates or do any other kind of checks. But I am not sure what behaviour we desire. Is it so wrong to have multiple entries? It is rather silly of course, but, as I assume, it won't break anything, but it clearly shows the whole timeline of redo-ifchange/redo-ifcreate calls. I thought that we can warn user that duplicate entries were recorded, but at the same time there be pretty ordinary use-cases where redo-* is called multiple times just for convenience and simplicity. So I think it is ok to leave everything as-is. -- Sergey Matveev (http://www.stargrave.org/) OpenPGP: CF60 E89A 5923 1E76 E263 6422 AE1A 8109 E498 57EF