[darcs-devel] [issue1486] recording a remove fails with "Cannot remove non-empty file" while the file doesn't even exist

Lele Gaifax lele at nautilus.homeip.net
Sun Jun 28 14:44:43 UTC 2009


On Sun, 28 Jun 2009 12:41:37 -0000
Attila Lendvai <bugs at darcs.net> wrote:

> ati at ed101:~/local-repos/sbcl/sync$ darcs record --all --pipe
> --ignore-times What is the date? 2002-02-02
> Who is the author? asd
> What is the patch name? asd
> What is the log?
> 
> darcs failed:  Cannot remove non-empty file ./src/pcl/describe.lisp
> Your repository is now in an inconsistent state.
> This must be fixed by running darcs repair.

Attila, what's the content of your _darcs/patches/pending? This may be
related to the problem you reported a week ago on tailor, where it
removed an entry by a direct write to that file rather than using
"darcs rm"... Darcs used to work ok in this scenario, but I'm afraid
that latest darcs complains about removing a file with still existing
content: tailor does not explicitly remove the file contents...

ciao, lele.
-- 
nickname: Lele Gaifax    | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas    | comincerò ad aver paura di chi mi copia.
lele at nautilus.homeip.net |                 -- Fortunato Depero, 1929.


More information about the darcs-devel mailing list