These came up in my (as yet unsuccessful) attempts to resolve issue1327. The
last one should be carefully reviewed; I am not sure I know what I am doing
here (but it seems to work for me).
3 patches for repository http://darcs.net/screened:
patch 1259707ab05dadf6c7c82eddd91f83a96e5b13f1
Author: Ben Franksen <benjamin.franksen@helmholtz-berlin.de>
Date: Sat Feb 7 14:01:45 CET 2015
* cleanup: slightly streamlined doRecord
patch 4b50fd374b31c32d6481ced38fc2d480936ed8ef
Author: Ben Franksen <benjamin.franksen@helmholtz-berlin.de>
Date: Sat Feb 7 14:29:49 CET 2015
* cleanup: tentativelyReplacePatches is only used internally
patch 94ce414ef9af423b77da1e6f4fbe8d434f3091b4
Author: Ben Franksen <benjamin.franksen@helmholtz-berlin.de>
Date: Sat Feb 7 14:37:23 CET 2015
* simplified HashedRepo.removeFromTentativeInventory
The change follows the outline indicated in the FIXME comment: we let
writeTentativeInventory do the heavy lifting. Also clearly documented the
preconditions, since this is a partial function.
With this change, Darcs.Patch.Depends.commuteToEnd is no longert needed and
has been removed.
Attachments
|