On Mon, Feb 12, 2007 at 04:46:45PM +0100, Juliusz Chroboczek wrote:
> > Instead of 'darcs send -o somefile.dpatch' you would use 'darcs send -O'
> > and it would generate the filename for you, based on the name of the
> > first patch in the bundle.
> 
> I see.  Please make sure it's scriptable -- i.e. that it's easy to
> programmatically find out the name from Darcs' output.

Darcs will print 'Wrote patch to somefilename.dpatch.'  Also, if one
were so inclined they could have their script figure out the name by
using the same transformation that is in FileName.lhs:patch_filename.

By the way, I just noticed that FileName.lhs is a pretty bad place for
that code.  I must not have noticed the description of the FileName
module when I put it there.  It should probably be moved, although I'm
not sure where yet.  I'll take a look at that later.

--
Zachary P. Landau <[EMAIL PROTECTED]>
GPG: gpg --recv-key 0xC9F82052 | http://divineinvasion.net/kapheine.asc

Attachment: signature.asc
Description: Digital signature

_______________________________________________
darcs-devel mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-devel

Reply via email to