darcs

Issue 1087 more informative explanation for darcs revert lock

Title more informative explanation for darcs revert lock
Priority wishlist Status needs-implementation
Milestone Resolved in
Superseder Nosy List MaicoLeberle, darcs-devel, dmitry.kurochkin, jaredj, kowey, mdiaz, thorkilnaur, twb
Assigned To MaicoLeberle
Topics ProbablyEasy, UI

Created on 2008-09-20.00:53:49 by twb, last changed 2015-03-27.22:32:09 by gh.

Messages
msg6060 (view) Author: twb Date: 2008-09-20.00:53:46
Currently I'm doing a "darcs record --test".  At the same time, I
tried to do "darcs revert --all debian/compat", but darcs wouldn't let
me, because both commands need an exclusive lock on the repository.

  Waiting for lock /home/twb/VCS/darcs.debian/_darcs/lock
  Couldn't get lock /home/twb/VCS/darcs.debian/_darcs/lock

To a naïve user, this is annoying, because it seems like revert
shouldn't need write access to anything but the working tree.  However
it occurs to me that this conflict might be caused by the unrevert
support.  If that's the case, it'd be nice if the error message looked
something like

  Waiting for lock /home/twb/VCS/darcs.debian/_darcs/lock
  Couldn't get lock /home/twb/VCS/darcs.debian/_darcs/lock

  Darcs revert needs exclusive write access to _darcs in order to
  create a backup of the reverted content for use by darcs unrevert.
msg6433 (view) Author: droundy Date: 2008-10-24.19:37:14
Revert needs lock in order to make unrevert safe.

David
History
Date User Action Args
2008-09-20 00:53:49twbcreate
2008-09-21 12:38:39droundysetpriority: wishlist
nosy: kowey, dagit, simon, twb
2008-09-21 12:38:52droundysetnosy: kowey, dagit, simon, twb
title: darcs revert apologize for using -> darcs revert shouldn't need lock
2008-10-24 19:37:17droundysetstatus: unread -> unknown
nosy: + dmitry.kurochkin, droundy, thorkilnaur
messages: + msg6433
2009-08-06 18:01:25adminsetnosy: + markstos, jast, Serware, darcs-devel, zooko, mornfall, tommy, beschmi, - droundy, twb
2009-08-06 21:12:43adminsetnosy: - beschmi
2009-08-10 21:48:47adminsetnosy: + twb, - tommy, markstos, darcs-devel, zooko, jast, Serware, mornfall
2009-08-10 23:46:00adminsetnosy: - dagit
2009-08-22 11:27:20koweysetstatus: unknown -> needs-implementation
nosy: + jaredj
topic: + ProbablyEasy
title: darcs revert shouldn't need lock -> more informative explanation for darcs revert lock
2009-08-25 17:24:48adminsetnosy: + darcs-devel, - simon
2009-08-26 14:11:58koweysettopic: + UI
nosy: kowey, darcs-devel, twb, thorkilnaur, jaredj, dmitry.kurochkin
2009-08-27 14:33:15adminsetnosy: kowey, darcs-devel, twb, thorkilnaur, jaredj, dmitry.kurochkin
2014-03-22 23:35:58ghsetassignedto: mdiaz
nosy: + mdiaz
2015-03-27 22:32:09ghsetassignedto: mdiaz -> MaicoLeberle
nosy: + MaicoLeberle