[darcs-users] Idea: Free floating patches?
andrew at pimlott.net
Wed Nov 17 01:05:57 UTC 2004
On Fri, Nov 12, 2004 at 09:24:00AM +0100, Norbert Nemec wrote:
> is there a possibility to create "free-floating" patches which could be simply
> transferred to anyone who can then just apply the patch to their repository?
> The idea would be that the specially formatted patch file should contain
> information about all the patches it depends on. When the patch is then
> applied somewhere else and any of the depended-upon patches is missing in the
> target repo, darcs simply complains. Otherwise, it just applies the patch.
You can achieve this today in a few steps. There was a discussion about
this a while back that you might find with the keyword "minimal context"
and my name.
a) If you want the free-floating patch to include all of the
depended-upon patches, do a send to an empty repo.
b) If you don't want to include all the depended-upon patches, do a
push to an empty repo, then unpull the single patche from that repo
and do a send to that repo.
More information about the darcs-users