[darcs-users] Identical patches and dependencies

David Roundy droundy at darcs.net
Wed Aug 13 17:51:03 UTC 2008


This is a known bug that has been announced in most of the darcs-2
release announcements.  Noone seems interested in working on the
problem, and as I have announced on many occasions, I don't have time
to do so.

David

On Wed, Aug 13, 2008 at 9:55 AM, Ian Lynagh <igloo at earth.li> wrote:
> On Tue, Aug 12, 2008 at 06:46:41AM -0700, David Roundy wrote:
>>
>> I would call this a feature, rather than a bug,
>
> OK, here's how to turn it into a bug, then!
>
> We have AC in one repo, and BC in another repo, where A and B are the
> same primitive patch, and C depends on that primitive patch. Now try to
> merge them.
>
> darcs wants to commute the repos so that they have a common prefix, and
> then disjoint suffixes, i.e. it wants to make
>
> C' A'
>
> C' B'
>
> and then merge A' and B'. But C depends on (the primitive patch inside)
> A or B, so this fails:
>
> darcs: bug in get_extra commuting patch:
> Wed Aug 13 17:46:06 BST 2008  Ian Lynagh <igloo at earth.li>
>  * A
>
> This happens with darcs1 and darcs2 repos; complete script is here:
>    http://urchin.earth.li/~ian/identical_patches_2.txt
> but it's basically the same as my earlier script with
>    darcs get ac abc2
>    cd abc2
>    darcs pull -a ../bc
> tacked on the end.
>
>
> Thanks
> Ian
>
>


More information about the darcs-users mailing list