<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, May 5, 2015 at 6:11 PM, Daniel Shahaf <span dir="ltr"><<a href="mailto:d.s@daniel.shahaf.name" target="_blank">d.s@daniel.shahaf.name</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">C. Michael Pilato wrote on Mon, May 04, 2015 at 10:29:43 -0400:<br>
> I think this means the new svnnotify hook script is working. Yay!<br>
<br>
</span>May I suggest changing "5038" to "r5038" in the subject? That would<br>
make mailbox grepping (copy-paste revnums into MUA's search box) easier.<br>
<br>
I don't believe I have access to the svnnotify script, but it might be<br>
just a matter of changing<br>
--revision "$2"<br>
to<br>
--revision "r$2"<br>
if the script treats that parameter as a string.<br></blockquote><div><br><div>Finally getting around to dealing with this. Sorry. #life<br><br>There's not much to
go on by way of information, but I believe that SourceForge's svnnotify
is a modified version of the script found here: <a href="http://search.cpan.org/dist/SVN-Notify/bin/svnnotify" target="_blank">http://search.cpan.org/dist/SVN-Notify/bin/svnnotify</a><br><br></div>That
one appears to really just want a revision number (integer) for the
--revision parameter. But there does appear to be a way to tweak the
Subject line to achieve the formatting you desire:<br><div><br><div style="margin-left:40px"> svnnotify --subject-prefix [Devlist]<br> svnnotify -P [%d (Our-Developers)]<br><br>An optional string to prepend to the beginning of the subject line of the<br></div><div style="margin-left:40px">notification email. If it contains '%d', it will be used to place the revision<br></div><div style="margin-left:40px">number; otherwise it will simply be prepended to the subject, which will<br></div><div style="margin-left:40px">contain the revision number in brackets.<br></div><br></div>So, I'll give the following a shot:<br><br> --subject-prefix "svn commit: [svnbook source]:[r%d]" <br></div></div><br></div></div>