darcs

Patch 443 resolve issue1981 by inviting the user to run darcs re...

Title resolve issue1981 by inviting the user to run darcs re...
Superseder Nosy List gh
Related Issues
Status rejected Assigned To
Milestone

Created on 2010-11-01.15:07:03 by gh, last changed 2011-05-10.17:16:00 by darcswatch. Tracked on DarcsWatch.

Files
File name Status Uploaded Type Edit Remove
resolve-issue1981-by-inviting-the-user-to-run-darcs-repair-when-an-exception-related-to-pristin-occurs.dpatch gh, 2010-11-01.15:07:03 text/x-darcs-patch
unnamed gh, 2010-11-01.15:07:03
See mailing list archives for discussion on individual patches.
Messages
msg12861 (view) Author: gh Date: 2010-11-01.15:07:03
This adds an extra case to the function withSignalHandled of the module
Darcs.Signalhandler .
This function is responsible for catching exceptions and printing
"darcs failed" followed by the exception string.

I am not sure whether this is the best place to fix the problem, because
essentially the "error opening" comes from somewhere precise (a hashed-storage
function probably) and it would be more robust to attach this message earlier.

1 patch for repository http://darcs.net:

Mon Nov  1 15:53:24 CET 2010  Guillaume Hoffmann <guillaumh@gmail.com>
  * resolve issue1981 by inviting the user to run darcs repair when an exception related to pristin occurs
Attachments
msg12955 (view) Author: galbolle Date: 2010-11-09.13:35:29
This sounds like an ersatz solution. Do you think you can come up with a 
cleaner solution, or should we apply this? Even if we can get the most 
detailed view of the path leading to the error, will we ever have better 
advice to offer.
History
Date User Action Args
2010-11-01 15:07:04ghcreate
2010-11-01 15:07:49darcswatchsetdarcswatchurl: http://darcswatch.nomeata.de/repo_http:__darcs.net_.html#bundle-64ad19201063e2414961bee99eecefd8a2c27cea
2010-11-09 13:35:29galbollesetmessages: + msg12955
2010-11-09 13:35:42galbollesetstatus: needs-screening -> in-discussion
2011-04-01 13:29:48galbollesetstatus: in-discussion -> rejected
2011-05-10 17:16:00darcswatchsetdarcswatchurl: http://darcswatch.nomeata.de/repo_http:__darcs.net_.html#bundle-64ad19201063e2414961bee99eecefd8a2c27cea -> http://darcswatch.nomeata.de/repo_http:__darcs.net_reviewed.html#bundle-64ad19201063e2414961bee99eecefd8a2c27cea