[darcs-users] darcs convert on non-independent repos

Ganesh Sittampalam ganesh at earth.li
Sun Apr 11 15:33:37 UTC 2010


On Sun, 11 Apr 2010, Eric Kow wrote:

> On Sun, Apr 11, 2010 at 16:03:50 +0100, Ganesh Sittampalam wrote:
>> In particular, I believe the following scenario is also OK:
>>
>> repo X = A;B
>> repo Y = A;C
>
> ...
>
>> Can anyone pick any holes in this reasoning?
>
> Not me although that isn't saying much.
>
> As long as darcs convert preserves patchinfo (which seems like the
> obvious thing to do), that *sounds* right.
>
> At the risk of distracting from your core point, I would also think
> that any permutation of A allowed by darcs is also fine, ie. just as
> long as it's really the same set.

I don't think that is fine, actually, as convert might not preserve the 
comutation behaviour of a patch. So you could have A and A' where A' is a 
permutation of A, but converted(A') wouldn't necessarily be a permutation 
of converted(A).

Ganesh


More information about the darcs-users mailing list