[darcs-devel] [issue1087] darcs revert apologize for using

Trent Buck bugs at darcs.net
Sat Sep 20 00:53:49 UTC 2008


New submission from Trent Buck <trentbuck at gmail.com>:

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.

----------
messages: 6060
nosy: dagit, kowey, simon, twb
status: unread
title: darcs revert apologize for using

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


More information about the darcs-devel mailing list