[darcs-devel] [issue1189] lock is not deleted on ctrl-C

David Roundy bugs at darcs.net
Fri Oct 31 13:59:21 UTC 2008


New submission from David Roundy <droundy at darcs.net>:

darcs no longer removes the _darcs/lock file when ctrl-C is hit while recording
(or doing just about anything else).  I could track this down, but I'd really
prefer to have a test for it first.  Alas, I've spent an hour or so trying to
construct such a test, but have failed.  :( Tricks like

sleep 10 | darcs record
kill %darcs

don't seem to work except interactively--which is not the point, it's easy
enough to reproduce this bug interactively.  Of course, this regression may
depend on stdin/out being a terminal, in which case it may not be possible to
check in the test suite.  :(

David

----------
messages: 6552
nosy: dagit, dmitry.kurochkin, droundy, kowey, simon, thorkilnaur
priority: urgent
status: unread
title: lock is not deleted on ctrl-C
topic: Regression

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1189>
__________________________________


More information about the darcs-devel mailing list