[darcs-users] -p behaves inconsistently

Tommy Pettersson ptp at lysator.liu.se
Fri Nov 3 08:55:57 UTC 2006


On Thu, Nov 02, 2006 at 09:56:38PM -0800, Jim Blandy wrote:
> They both add text to the top of the ChangeLog file.  Would that make
> them depend on each other?

There is not a perfect match between what can be done, what
darcs' patch algebra allows, and what darcs can do. Intuitively
your case shouldn't cause a dependency, and in some very early
versions of darcs it didn't. Unfortunately the way darcs did
this sometimes made it break one of the patch algebra rules.
There is no easy way to fix it, so therefore darcs now inhibits
this kind of non-dependencies altogether, which makes it
(perhaps excessively) abide to the patch algebra rules. I
suspect there is a way to trim this to do The right thing, but
the current way darcs represents patches internally is not
expressive enough, and I have no idea if it would really work in
the presence of conflicts and mergers.


-- 
Tommy Pettersson <ptp at lysator.liu.se>




More information about the darcs-users mailing list