[darcs-users] [Q] pushing patches without respect for dependencies
Mark Stosberg
mark at stosberg.com
Wed Jan 16 03:45:03 UTC 2008
> I have 3 repos which are very similar (they share a common root), but a
> bit divergent (and they're not meant to be re-merged ever). From time to
> time, I record a patch in one of them and want to push it to one of the
> two others.
>
> I understand that pushing a patch is a complex mechanism in which the
> dependencies are involved, but from time to time, I would like to force
> pushing a patch, without taking the dependencies into account.
>
> So this really is nothing more than creating a diff in one repo, and
> applying the same diff in the other (hence creating really two different
> patches), but the advantage of doing so with Darcs is that:
>
> - I will keep the same patch name,
> - using darcs interactively is a convenient way of selecting the patches
> I want to push.
Didier,
I don't believe this is possible with Darcs 1, or planned with Darcs 2,
although I think Darcs 2 will be smarter about what needs to be declared
a dependency.
The workaround that you've probably already discovered is to use "darcs
diff" to generate the patches, and manually apply them.
Mark
--
http://mark.stosberg.com/
More information about the darcs-users
mailing list