[darcs-users] Changes relative to a remote repository

Ashley Moran ashley.moran at patchspace.co.uk
Tue Jul 14 18:56:06 UTC 2009

On 14 Jul 2009, at 02:51, Trent W. Buck wrote:

> You can do it with pull, but apparently not with push.
>    darcs pull --complement --repo B A A'
> For example, suppose that I have a repo "darcs+twb", and I'm pulling  
> in
> David's changes from "darcs+droundy".  I can create a blacklist repo
> "darcs+droundy.off" which contains patches I *NEVER* want, e.g. the  
> ones
> that refer to Franchise (Setup.hs, not Setup.lhs):
>    darcs get http://darcs.net/  darcs+twb
>    darcs get ...                darcs+droundy
>    darcs init --repo darcs+droundy.off
>    darcs pull --repo darcs+droundy.off darcs+droundy \
>      --match 'touch Setup\.hs' --allow-conflicts
> Then pull in other patches
>    darcs pull --complement --repo darcs+twb darcs+droundy darcs 
> +droundy.off

Yes, this is exactly what I was thinking!  Is there any reason why  
darcs lets you do it with pull but not push?



More information about the darcs-users mailing list