darcs

Issue 988 2.0.2 get on old repo format: darcs failed: Cannot remove non-empty file ./foo.jpg

Title 2.0.2 get on old repo format: darcs failed: Cannot remove non-empty file ./foo.jpg
Priority bug Status resolved
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, kowey, markstos, mornfall, thorkilnaur, tommy
Assigned To
Topics

Created on 2008-08-12.14:36:34 by markstos, last changed 2009-08-27.14:02:36 by admin.

Messages
msg5402 (view) Author: markstos Date: 2008-08-12.14:36:30
Today I was trying to use darcs 2.0.2 to 'get' a repo in the 1.x format. It
eventually failed like this:

darcs failed:  Cannot remove non-empty file ./zoo/foo.jpg

The repo is unfortunately large and private and can't be made available. 

I would understand if the resolution is that this is the result of a darcs 1.x
bug that darcs 2.x no longer produces, and can't cope with resolving. 

Still, if there is a possible way for darcs 2 to workaround whatever the issue
is, that would be nice. 

I think my workaround will be to "cp" the source repository instead of
re-getting it.
msg5403 (view) Author: markstos Date: 2008-08-12.14:39:41
I review what the patch does. It deletes many files and directories.  Possibly
the ordering got confused somewhere along the way.
msg5404 (view) Author: kowey Date: 2008-08-12.14:42:24
Any chance this is related to http://bugs.darcs.net/issue693 ?
msg5411 (view) Author: markstos Date: 2008-08-12.15:54:32
> Any chance this is related to http://bugs.darcs.net/issue693 ?

It could be. It's difficult for me to tell exactly what the other bug was.

I believe I tried 'repair' with Darcs 2.0.2 in this case, but I could mistaken. 

    Mark
msg5413 (view) Author: markstos Date: 2008-08-12.16:01:07
Wait, it looks like this is already fixed in 2.0.2, as I when I just re-tried
repair, I got this result instead:

WARNING: Fixing removal of non-empty file ./zoo/foo.jpg

Great! (Perhaps I thought I was using 2.0.2 before and I just wasn't.). 

Marking as resolved.
msg5421 (view) Author: daveroundy Date: 2008-08-12.17:15:34
I think that repair might already be modified to fix this problem.
But I don't remember for certain.

David

On 8/12/08, Mark Stosberg <bugs@darcs.net> wrote:
> Today I was trying to use darcs 2.0.2 to 'get' a repo in the 1.x format. It
> eventually failed like this:
>
> darcs failed:  Cannot remove non-empty file ./zoo/foo.jpg
>
> The repo is unfortunately large and private and can't be made available.
>
> I would understand if the resolution is that this is the result of a darcs
> 1.x
> bug that darcs 2.x no longer produces, and can't cope with resolving.
>
> Still, if there is a possible way for darcs 2 to workaround whatever the
> issue
> is, that would be nice.
>
> I think my workaround will be to "cp" the source repository instead of
> re-getting it.
msg5426 (view) Author: mornfall Date: 2008-08-12.18:01:01
I understand this is resolved and only went back to chatting due to roundup
automagic. -> setting back to resolved.
History
Date User Action Args
2008-08-12 14:36:34markstoscreate
2008-08-12 14:39:43markstossetstatus: unread -> unknown
nosy: tommy, beschmi, markstos, dagit
messages: + msg5403
2008-08-12 14:42:27koweysetnosy: + kowey
messages: + msg5404
2008-08-12 15:54:36markstossetnosy: tommy, beschmi, kowey, markstos, dagit
messages: + msg5411
2008-08-12 16:01:10markstossetstatus: unknown -> resolved
nosy: tommy, beschmi, kowey, markstos, dagit
messages: + msg5413
2008-08-12 17:15:38daveroundysetstatus: resolved -> unknown
nosy: + daveroundy
messages: + msg5421
title: 2.0.2 get on old repo format: darcs failed: Cannot remove non-empty file ./foo.jpg -> 2.0.2 get on old repo format: darcs failed: Cannot remove non-empty file ./foo.jpg
2008-08-12 18:01:04mornfallsetstatus: unknown -> resolved
nosy: + mornfall
messages: + msg5426
2008-09-28 20:50:03adminsetnosy: + droundy, simon, thorkilnaur, - daveroundy
2009-08-06 18:00:47adminsetnosy: + jast, Serware, dmitry.kurochkin, darcs-devel, zooko, - droundy
2009-08-06 21:10:36adminsetnosy: - beschmi
2009-08-10 22:22:04adminsetnosy: - darcs-devel, zooko, jast, Serware
2009-08-11 00:20:04adminsetnosy: - dagit
2009-08-25 17:29:33adminsetnosy: + darcs-devel, - simon
2009-08-27 14:02:36adminsetnosy: tommy, kowey, markstos, darcs-devel, thorkilnaur, dmitry.kurochkin, mornfall