| 
Created on 2005-11-24.00:31:52 by markstos, last changed 2009-08-27.13:46:06 by admin. 
 
  
   | msg75 (view) | Author: markstos | Date: 2005-11-24.00:31:51 |  |  
   | I got this error today with Darcs 1.0.4:      
     
darcs failed:  user error (Error applying patch to working dir:    
createDirectory: already exists (File exists))    
This may have left your working directory an inconsistent    
but recoverable state. If you had no un-recorded changes    
by using 'darcs revert' you should be able to make your    
working directory consistent again.   
   
####   
   
I understand why it's happening--- I already had a local directory that a patch   
added.   
  
It would be ideal to proceed despite this, since it's not really a problem from 
my perspective.  
 
However, as long as there is an error, it should let me know /which/ directory 
has the problem, since there may be several potential ones.  
 
In a minute I'll send a patch to darcs-devel that includes a test case this and 
includes this issue number in the patch name. |  
   | msg76 (view) | Author: markstos | Date: 2005-11-24.00:39:41 |  |  
   | On Thu, Nov 24, 2005 at 12:31:52AM +0000, Mark Stosberg wrote:
>  
> In a minute I'll send a patch to darcs-devel that includes a test case this and 
> includes this issue number in the patch name.
I'm sorry for the less-then-useful patch names. When I try to unrecord
in my darcs-stable repo, I get an error: 
   Fail: failed to read patch in get_extra:
   Fri Feb  4 07:37:49 EST 2005  David Roundy <droundy@abridgegame.org>
     * bump version number to 1.0.2 (at last!)
   Perhaps this is a 'partial' repository?
Shouldn't I be able to unrecord, even if /is/ a partial repo?
    Mark |  
   | msg80 (view) | Author: droundy | Date: 2005-11-24.13:37:28 |  |  
   | On Thu, Nov 24, 2005 at 12:31:52AM +0000, Mark Stosberg wrote:
> 
> New submission from Mark Stosberg <mark@summersault.com>:
> 
> I got this error today with Darcs 1.0.4:      
>      
> darcs failed:  user error (Error applying patch to working dir:    
> createDirectory: already exists (File exists))    
> This may have left your working directory an inconsistent    
> but recoverable state. If you had no un-recorded changes    
> by using 'darcs revert' you should be able to make your    
> working directory consistent again.   
This is annoying--I'm not sure this is a darcs bug so much as a ghc bug.
But where there's a ghc bug that can be worked around, that's what we've
got to do.  The exception that is thrown (by ghc) really *ought* to include
the directory name.
Actually, I just checked, and my darcs *does* include the directory name:
Shall I pull this patch? (1/1) [ynWvpxqadjk], or ? for help: y
darcs failed:  user error (Error applying patch to working dir:
./d: createDirectory: already exists (File exists))
This may have left your working directory an inconsistent
but recoverable state. If you had no un-recorded changes
by using 'darcs revert' you should be able to make your
working directory consistent again.
What version of ghc was used to compile your darcs?
-- 
David Roundy
http://www.darcs.net |  
   | msg91 (view) | Author: markstos | Date: 2005-11-27.20:19:31 |  |  
   | On Thu, Nov 24, 2005 at 01:37:30PM +0000, David Roundy wrote:
> 
> What version of ghc was used to compile your darcs?
6.2.2. 
I suppose this gives me a concrete reason to upgrade, although I recall
that the last time I tried on FreeBSD, it was a hassle.
Anyway, it looks like you could close this darcs bug, since I believe
you already recommend 6.4.x.
Thanks for the response!
    Mark |  
   | msg94 (view) | Author: droundy | Date: 2005-11-28.13:39:12 |  |  
   | I'm closing this on the assumption that it's fixed with by ghc 6.4 on Mark's
suggestion.
David. |  |
 
| Date | User | Action | Args |  | 2005-11-24 00:31:52 | markstos | create |  |  | 2005-11-24 00:39:41 | markstos | set | status: unread -> unknown nosy:
  droundy, tommy, markstos
 messages:
  + msg76
 |  | 2005-11-24 13:37:30 | droundy | set | nosy:
  droundy, tommy, markstos messages:
  + msg80
 |  | 2005-11-27 20:19:32 | markstos | set | nosy:
  droundy, tommy, markstos messages:
  + msg91
 |  | 2005-11-28 13:39:13 | droundy | set | status: unknown -> resolved nosy:
  droundy, tommy, markstos
 messages:
  + msg94
 |  | 2009-08-06 17:40:26 | admin | set | nosy:
  + jast, Serware, dmitry.kurochkin, darcs-devel, zooko, dagit, mornfall, simon, kowey, beschmi, thorkilnaur, - droundy |  | 2009-08-06 20:46:22 | admin | set | nosy:
  - beschmi |  | 2009-08-10 21:52:34 | admin | set | nosy:
  - darcs-devel, zooko, jast, dagit, Serware, mornfall |  | 2009-08-25 17:53:59 | admin | set | nosy:
  + darcs-devel, - simon |  | 2009-08-27 13:46:06 | admin | set | nosy:
  tommy, kowey, markstos, darcs-devel, thorkilnaur, dmitry.kurochkin | 
 |