[darcs-users] How to record only patches, not original files

Josef Svenningsson josef.svenningsson at gmail.com
Mon Jun 18 11:02:15 UTC 2007


On 6/17/07, Robin Bate Boerop <robin at shorestreet.com> wrote:
> On 16-Jun-07, at 7:23 PM, Josef Svenningsson wrote:
>
> > How about creating a patch bundle using 'darcs send'? It would be
> > slightly less convenient for anyone who wants to apply the patches,
> > first downloading the bundle and then doing 'darcs apply' instead
> > of simply a 'darcs pull'. But it still seems reasonable to me.
>
> 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.

hth

Josef



More information about the darcs-users mailing list