[darcs-users] determining what darcs apply did [was: sending notices when a repo changes]
David Roundy
droundy at abridgegame.org
Sat Mar 5 13:08:24 UTC 2005
On Sat, Mar 05, 2005 at 08:02:45AM -0500, David Roundy wrote:
> Ideally I'd like to be able to write something like
>
> echo "$PATCH_SUMMARIES" | mail -s "$NUM_PATCHES applied to $REPO" droundy
>
> I'm not sure how the $PATCH_SUMMARIES bit would work, though, since it'd
> have embedded newlines. :(
Actually, it just occurred to me that we could export a $MATCH_PATCHES
commandline flag that containts "--matches 'hash $HASH1 || hash $HASH2 ... '
and then I could write
darcs changes -s $MATCH_PATCHES | mail -s "$NUM_PATCHES applied to $REPO" droundy
--
David Roundy
http://www.darcs.net
More information about the darcs-users
mailing list