[darcs-users] multiple -t options to 'darcs push'

Zack Brown zbrown at tumblerings.org
Thu Jul 31 15:03:35 UTC 2003


Hi,

On Thu, Jul 31, 2003 at 07:40:05AM -0400, David Roundy wrote:
> On Tue, Jul 29, 2003 at 09:03:45AM -0700, Zack Brown wrote:
> > Hi David,
> > 
> > It would be nice to be able to submit more than one -t option when doing a
> > push. This would make it easy to CC the mailing list for discussion.  If -t
> > receives an argument of 'default' or no argument at all, that would indicate
> > whatever email would normally be the target if no -t were specified. So:
> > 
> > darcs push -v -a -s -t default -t darcs-users at abridgegame.org
> > 
> > or
> > 
> > darcs push -v -a -s -t -t darcs-users at abridgegame.org
> > 
> > would go to you and the list.
> 
> I've implemented this feature, but a tad differently.  Rather than accept
> either -t with no args or -t default for the "default", I added a --cc (or
> -c) option to specify email addresses to cc.  So if you want to push to me
> and darcs-users, you would use
> 
> darcs push --cc darcs-users at abridgegame.org
> 
> And if you always want to send yourself a copy of every patch you push, you
> could add the folowing line to _darcs/prefs/defaults:
> 
> push cc myself at my.address
> 
> Multiple --to and --cc arguments are allowed, and they will all get the
> patches (and will all be able to see each other).

Beautiful!

Be well,
Zack

> -- 
> David Roundy
> http://www.abridgegame.org
> 
> _______________________________________________
> darcs-users mailing list
> darcs-users at abridgegame.org
> http://www.abridgegame.org/mailman/listinfo/darcs-users

-- 
Zack Brown




More information about the darcs-users mailing list