darcs

Issue 894 another rmfile patch created with non-empty file

Title another rmfile patch created with non-empty file
Priority bug Status duplicate
Milestone Resolved in
Superseder rmfile patch created without the actual content removal (tailor)
View: 693
Nosy List attila.lendvai, darcs-devel, dmitry.kurochkin, kowey, thorkilnaur, tommy
Assigned To
Topics

Created on 2008-06-04.14:53:43 by attila.lendvai, last changed 2009-10-23.23:48:39 by admin.

Messages
msg4940 (view) Author: attila.lendvai Date: 2008-06-04.14:53:41
hi!

try this:

$ darcs get --lazy http://common-lisp.net/project/cl-dwim/darcs/cl-dwim/
Unapplicable patch:
Sun Apr 27 12:30:21 CEST 2008  levente.meszaros@gmail.com
  * Remove obsolete tests.

darcs failed:  Cannot remove non-empty file ./test/model/audited-object.lisp

$ darcs --version
2.0.1rc1 (2.0.1rc1 (release candidate 1))

hth,
msg4942 (view) Author: kowey Date: 2008-06-04.15:09:24
Thanks for the bug report.

This sounds like another (!) instance of issue693, http://bugs.darcs.net/issue693

Fortunately, darcs repair now fixes those patches.  We still don't know why they
are being generated.  We would be much obliged if you could make a copy of your
repository before fixing it and help us to reproduce the conditions that led to
the bad patch being generated in the first place.  Otherwise, just darcs repair
and move on :-(
msg4943 (view) Author: attila.lendvai Date: 2008-06-04.15:46:21
>  Fortunately, darcs repair now fixes those patches.  We still don't know why they
>  are being generated.  We would be much obliged if you could make a copy of your

for some background info: i remember seeing darcs having rouble with
file removals/renames where it left the repo in an inconsistent state.
it was rather easy to overcome, so easy, that i just ignored it...
could be these (bogus?) patches are still lingering in the repo and
causing headache to darcs2.

also note, that i usually built darcs from the stable branch from time to time.

>  repository before fixing it and help us to reproduce the conditions that led to
>  the bad patch being generated in the first place.  Otherwise, just darcs repair
>  and move on :-(

err, i don't understand it. if it helps, i can package up the
repository and make it downloadable - just let me know.

but if you mean a test case that reproduces such a repo... that would
be waaaay too much pain. i'm happy enough that darcs repair solves it
now... :)

btw, meanwhile i get the repo using darcs 1.0.9 and it worked fine.
History
Date User Action Args
2008-06-04 14:53:43attila.lendvaicreate
2008-06-04 15:06:07koweylinkissue895 superseder
2008-06-04 15:09:26koweysetstatus: unread -> duplicate
title: darcs get fails with darcs2 -> another rmfile patch created with non-empty file
nosy: + kowey
messages: + msg4942
priority: bug
superseder: + rmfile patch created without the actual content removal (tailor)
2008-06-04 15:46:23attila.lendvaisetnosy: tommy, beschmi, kowey, dagit, attila.lendvai
messages: + msg4943
2009-08-06 21:06:42adminsetnosy: + dmitry.kurochkin, simon, thorkilnaur, - beschmi
2009-08-11 00:15:55adminsetnosy: - dagit
2009-08-25 18:11:50adminsetnosy: + darcs-devel, - simon
2009-08-27 14:00:23adminsetnosy: tommy, kowey, darcs-devel, attila.lendvai, thorkilnaur, dmitry.kurochkin
2009-10-23 22:34:39adminsetnosy: + attila_lendvai, - attila.lendvai
2009-10-23 23:48:39adminsetnosy: + attila.lendvai, - attila_lendvai