[darcs-devel] [issue686] wish: DARCS_PATCHES_XML exported for some --posthook cases

Mark Stosberg bugs at darcs.net
Thu Feb 14 02:49:54 UTC 2008


New submission from Mark Stosberg <mark at summersault.com>:

While working on issue58, I tried out the new "DARCS_PATCHES" export for
--posthook, which is in a plain-text format. That experience clarified for me
that we should also export DARCS_PATCHES_XML, providing the same data in XML
format. 

The reason is --posthook primarily exists for automation, and the XML format is
convenient for being processed by automated tools. By contract, parsing the
human-readable format of DARCS_PATCHES is cumbersome and hackish, requiring
things like matching lines that start with " * " to mean that we've found a
patch name.

----------
messages: 3383
nosy: beschmi, droundy, kowey, markstos, tommy
priority: wishlist
status: unread
title: wish: DARCS_PATCHES_XML exported for some --posthook cases
topic: Darcs2

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue686>
__________________________________


More information about the darcs-devel mailing list