[darcs-users] Bug in darcs-2, using darcs-1 repo format

Nicolas Pouillard nicolas.pouillard at gmail.com
Tue Sep 16 10:38:17 UTC 2008


Excerpts from Benjamin Franksen,15.8.202,6392-4982,'s message of Mon Sep 15 21:36:46 +0200 2008:
> Hi,
> 
> just when I finally got our sysadmin to install darcs-2.0.2 on our
> development machine(s), after having tested darcs-2 with our old-style
> darcs-1 repos for more than two months and finding nothing
> problematic, ..... I start getting errors about darcs being unable to
> record some changes.
> 
> Digging a bit deeper, it seems that after a 'rm <file>' darcs
> sometimes 'forgets' to note that the file's content has been removed as
> well. It then complains that it cannot remove the file without first
> removing its content, refusing to record the changes. A 'darcs whatsnew -s'
> reveales that indeed the 'rm <file>' is pending, but the hunk that deletes
> the content has disappeared.
> 
> This seems to happen only if one records other changes in the meantime (i.e.
> between removing the file and trying to record the removal). Even though
> the error occurred many times over the last two weeks, I was not able to
> reproduce it in a small example repo. Very strange.
> 
> Has anyone else noticed this? I searched the bug tracker but couldn't find
> anything related. Maybe I didn't use the right search term.

Do you use --look-for-adds? If so it could be related to issue709.

When it happens to me I manually fix the pending patch.

-- 
Nicolas Pouillard aka Ertai
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20080916/cc3dd346/attachment.pgp 


More information about the darcs-users mailing list