3 patches for repository http://darcs.net/screened:
patch 36028bf066c9754dcccbd300a8889399c1b5a82b
Author: Ben Franksen <ben.franksen@online.de>
Date: Tue Nov 3 07:34:16 CET 2020
* lift writeInventoryPrivate to the top level and rename to writeInventory
patch f6b14b28d588cefdf6679a0a197dbafbbc707afa
Author: Ben Franksen <ben.franksen@online.de>
Date: Wed Mar 24 06:37:23 CET 2021
* simplify writeInventory and writeTentativeInventory
The simplification consists of no longer treating empty inventories
specially. It involves is a minor change in behavior in that an empty
inventory is now written to disk as a hashed file; which is the reason we
have to adapt tests/issue1987.sh. Indeed, my original motivation for the
refactor was so to make writeInventory return a hash unconditionally.
patch ab64067074f7843d61d3ca2859effa28afb2dc0f
Author: Ben Franksen <ben.franksen@online.de>
Date: Wed Mar 24 18:26:07 CET 2021
* return hash from writePristine
> It involves is a minor change in behavior in that an empty inventory
is now written to disk as a hashed file
This seems like a good simplification.
Do we need to do anything to check that older darcs will read the new
empty inventories ok?