[darcs-users] How to record only patches, not original files
Robin Bate Boerop
robin at shorestreet.com
Mon Jun 18 17:20:44 UTC 2007
On 18-Jun-07, at 8:02 AM, Josef Svenningsson wrote:
>> To me, this is the same as making and distributing patches with
>> "diff" and "patch". Is it not?
>>
> No. The patches are still managed by darcs and they can be commuted
> when applied to a repository. Suppose you have a developer who wants
> to apply your patches to his repository but have made changes to it so
> that it differs from the one you started out from. When he applies
> your patches darcs will take care of the commutation and conflict
> resolving for him instead of just getting an error from patch.
That's true. I was thinking instead of the effort required by me to
distribute my patches. Instead of just pushing patches to the repo
whenever I like, I would have to use darcs send to create a patche,
darcs apply to apply the patch to the repo, and then (if that works)
I would have to make the patch available for download. It is that
kind of work that I want to avoid. Further, doing it that way, I
could not use darcs optimize to "bunch" patches together.
If I am misunderstanding your suggested method of distribution, let
me know.
More information about the darcs-users
mailing list