[darcs-devel] [patch1262] cleanup: slightly streamlined doRecord (and 2 more)

Ben Franksen bugs at darcs.net
Sat Feb 7 14:45:05 UTC 2015


New submission from Ben Franksen <benjamin.franksen at helmholtz-berlin.de>:

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 at helmholtz-berlin.de>
Date:   Sat Feb  7 14:01:45 CET 2015
  * cleanup: slightly streamlined doRecord

patch 4b50fd374b31c32d6481ced38fc2d480936ed8ef
Author: Ben Franksen <benjamin.franksen at 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 at 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.

----------
files: cleanup_-slightly-streamlined-dorecord.dpatch, patch-preview.txt, unnamed
messages: 18044
nosy: bf
status: needs-screening
title: cleanup: slightly streamlined doRecord (and 2 more)

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/patch1262>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-preview.txt
Type: text/x-darcs-patch
Size: 6690 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20150207/fdf04b95/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cleanup_-slightly-streamlined-dorecord.dpatch
Type: application/x-darcs-patch
Size: 19436 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20150207/fdf04b95/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unnamed
Type: application/octet-stream
Size: 5 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20150207/fdf04b95/attachment-0001.obj>


More information about the darcs-devel mailing list