darcs

Patch 2225 catch all takeLock exceptions in withLockCanFail

Title catch all takeLock exceptions in withLockCanFail
Superseder Nosy List bf
Related Issues
Status needs-review Assigned To
Milestone

Created on 2021-11-10.07:29:00 by bf, last changed 2021-11-10.07:30:32 by bf.

Files
File name Status Uploaded Type Edit Remove
catch-all-takelock-exceptions-in-withlockcanfail.dpatch bf, 2021-11-10.07:28:56 application/x-darcs-patch
patch-preview.txt bf, 2021-11-10.07:28:56 text/x-darcs-patch
See mailing list archives for discussion on individual patches.
Messages
msg22928 (view) Author: bf Date: 2021-11-10.07:28:56
1 patch for repository http://darcs.net/screened:

patch d6f6944fabc17a460527e5a6309b608fcc1ca65b
Author: Ben Franksen <ben.franksen@online.de>
Date:   Mon Nov  8 17:08:39 CET 2021
  * catch all takeLock exceptions in withLockCanFail

  Note that withLockCanFail is used in commands that are otherwise read-only,
  such as annotate and log (with a filename), in order to create a patch
  index. These commands should not fail if taking the lock fails for whatever
  reason (e.g. no write permission). This is important for instance when using
  darcsweb.
Attachments
History
Date User Action Args
2021-11-10 07:29:00bfcreate
2021-11-10 07:30:32bfsetstatus: needs-screening -> needs-review