Re: Help with post-commit script
From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Tue, 3 Dec 2013 20:13:50 +0200
Andrew Reedick wrote on Mon, Dec 02, 2013 at 16:07:52 -0600:
It's this way around.
> RECIPIENT_LIST=$(svnlook propget ... my:email_list_prop)
Need to set PATH first for this to work.
> svnlook changed ... > $CHANGED_LIST || exit 1
'read' splits on whitespace, so filenames that contain spaces won't DTRT.
> do
Same for filenames that contain regex metacharacters.
> if [[ $? -eq 0 ]]
There's an obvious semantic error here, you meant to use a pipe.
But I would suggest using mailer.py here. If nothing else, you can use
> Also, do NOT have any blank links in the "my:filelist_prop". Or does
Your perl invocation will DTRT on blank lines (that is: skip them
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.