[darcs-devel] darcs patch: Add -O option to Send to write patches to autogenerate...

Eric Y. Kow eric.kow at gmail.com
Sun Feb 11 01:58:44 PST 2007


> Do other people find this useful?  And if so, can you think of a better
> option name than 'AutoOutput' because I don't think that is very self
> explanatory.

AutoNameBundle?

> Sat Feb  3 16:07:39 EST 2007  Zachary P. Landau <kapheine at divineinvasion.net>
>   * Add -O option to Send to write patches to autogenerated filename.

This is something that would be somewhat useful to me.  Does anybody object
in principle?  I'll push it by next week if not.

Otherwise, some comments might be that

> then let fname = make_fname to_be_sent in do
>       writeDocBinFile (make_fname to_be_sent) bundle

Maybe refactor the fname?

 then do writeDocBinFile fname bundle
         putStrLn $ "Wrote patch to " ++ fname ++ "."
      where fname = make_fname to_be_sent in do

> "output to file"

This is short and sweet, but could be more informative (c.f. -o "specify
output filename").  Anyone have a suggestion for something both terse
and informative?

-- 
Eric Kow                     http://www.loria.fr/~kow
PGP Key ID: 08AC04F9         Merci de corriger mon français.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-devel/attachments/20070211/d3febc36/attachment.pgp


More information about the darcs-devel mailing list