[darcs-devel] [patch1838] resolve issue2626: treat applyToWorking ... (and 1 more)
Ben Franksen
bugs at darcs.net
Mon Jun 17 07:56:01 UTC 2019
New submission from Ben Franksen <ben.franksen at online.de>:
2 patches for repository /home/ben/src/darcs/sent:
patch 173e8e8e4ffd993d761de1cc441f2012e01e7e5c
Author: Ben Franksen <ben.franksen at online.de>
Date: Mon Jun 17 08:32:58 CEST 2019
* resolve issue2626: treat applyToWorking more uniformly
This factors catching IO errors into applyToWorking with a generic error
message that should fit all use cases. In case of the 'convert darcs-2'
command, the extra clarification that suggests to use --no-workingdir has
been removed as I find it misleading and cannot see how that could actually
help: we have created the whole working tree ourselves, so if applying the
patches fails something really weird (like another process interfering with
the working tree) must be going on.
It also adds a number of withSignalsBlocked to wrap the calls to
applyToWorking where they were missing. Where possible, the scope of actions
under withSignalsBlocked is extended to include finalization and/or updating
the pending patch. This has previously been the case for some commands but
not all of them.
patch a02674ef3cfdc0c50d827bf13aaa8640684dc664
Author: Ben Franksen <ben.franksen at online.de>
Date: Mon Jun 17 08:50:04 CEST 2019
* remove the (now) unused function 'revertable'
----------
files: patch-preview.txt, resolve-issue2626_-treat-applytoworking-more-uniformly.dpatch, unnamed
messages: 20846
nosy: bf
status: needs-screening
title: resolve issue2626: treat applyToWorking ... (and 1 more)
__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/patch1838>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-preview.txt
Type: text/x-darcs-patch
Size: 11952 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20190617/c98e1bc7/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: resolve-issue2626_-treat-applytoworking-more-uniformly.dpatch
Type: application/x-darcs-patch
Size: 49482 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-devel/attachments/20190617/c98e1bc7/attachment-0003.bin>
-------------- next part --------------
.
More information about the darcs-devel
mailing list