<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Subversion: Emailing users on commit</title>
	<atom:link href="http://coreygilmore.com/blog/2007/08/20/subversion-emailing-users-on-commit/feed/" rel="self" type="application/rss+xml" />
	<link>http://coreygilmore.com/blog/2007/08/20/subversion-emailing-users-on-commit/</link>
	<description></description>
	<pubDate>Tue, 06 Jan 2009 03:47:51 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: Corey</title>
		<link>http://coreygilmore.com/blog/2007/08/20/subversion-emailing-users-on-commit/#comment-10727</link>
		<dc:creator>Corey</dc:creator>
		<pubDate>Mon, 22 Sep 2008 17:43:40 +0000</pubDate>
		<guid isPermaLink="false">http://coreygilmore.com/blog/2007/08/20/subversion-emailing-users-on-commit/#comment-10727</guid>
		<description>Hey Daniel,

Try quoting the repository name too:
&lt;pre lang="bash"&gt;
/usr/local/bin/svnnotify  --repos-path "/data/svn/testRepository" --revision "11" --subject-cx --subject-prefix "testRepository - " --with-diff --handler HTML::ColorDiff --to "you@yourdomain.com" --from "you@yourdomain.com" --reply-to "you@yourdomain.com" 
&lt;/pre&gt;

The only other change I see is that you were attaching the diff.  Also check out line 2309 in /usr/perl5/site_perl/5.8.4/SVN/Notify.pm, it looks like it's searching for a file that isn't found.</description>
		<content:encoded><![CDATA[<p>Hey Daniel,</p>
<p>Try quoting the repository name too:</p>

<div class="wp_syntax"><div class="code"><pre class="bash"><span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">local</span><span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>svnnotify  --repos-path <span style="color: #ff0000;">&quot;/data/svn/testRepository&quot;</span> --revision <span style="color: #ff0000;">&quot;11&quot;</span> --subject-cx --subject-prefix <span style="color: #ff0000;">&quot;testRepository - &quot;</span> --with-diff --handler HTML::ColorDiff --to <span style="color: #ff0000;">&quot;you@yourdomain.com&quot;</span> --from <span style="color: #ff0000;">&quot;you@yourdomain.com&quot;</span> --reply-to <span style="color: #ff0000;">&quot;you@yourdomain.com&quot;</span></pre></div></div>

<p>The only other change I see is that you were attaching the diff.  Also check out line 2309 in /usr/perl5/site_perl/5.8.4/SVN/Notify.pm, it looks like it&#039;s searching for a file that isn&#039;t found.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel J. Doughty</title>
		<link>http://coreygilmore.com/blog/2007/08/20/subversion-emailing-users-on-commit/#comment-10555</link>
		<dc:creator>Daniel J. Doughty</dc:creator>
		<pubDate>Fri, 19 Sep 2008 14:59:50 +0000</pubDate>
		<guid isPermaLink="false">http://coreygilmore.com/blog/2007/08/20/subversion-emailing-users-on-commit/#comment-10555</guid>
		<description>Hi Corey,

I'm trying to get this set up for a group of developers.  Unfortunately I seem to be missing something.  The emails go out, but there is almost nothing in the content.  The author field isn't populated, the diff doesn't show, etc.  I tried changing the --with-diff flag to -attach-diff but that didn't really make any difference.  I mean, the diff is still empty, only now it's attached.  

This is on Solaris 10.  

It appears that Subversion is passing the correct variables, as I echoed them out to a temp file during one of the commits and here are REPOS, REV and REPOS_NAME:

/data/svn/testRepository
11
testRepository

Executing the raw command from the command line yielded this:

# /usr/perl5/5.8.4/bin/svnnotify --repos-path /data/svn/testRepository --revision 11 --subject-cx --subject-prefix "testRepository - " --attach-diff --handler HTML::ColorDiff --to red@act.ed --from "Subversion" --reply-to "Subversion"
Use of uninitialized value in exec at /usr/perl5/site_perl/5.8.4/SVN/Notify.pm line 2309.
Can't exec "": No such file or directory at /usr/perl5/site_perl/5.8.4/SVN/Notify.pm line 2309.
Use of uninitialized value in concatenation (.) or string at /usr/perl5/site_perl/5.8.4/SVN/Notify.pm line 2309.
Cannot exec : No such file or directory
Child process exited: 512
Use of uninitialized value in exec at /usr/perl5/site_perl/5.8.4/SVN/Notify.pm line 2309.
Can't exec "": No such file or directory at /usr/perl5/site_perl/5.8.4/SVN/Notify.pm line 2309.
Use of uninitialized value in concatenation (.) or string at /usr/perl5/site_perl/5.8.4/SVN/Notify.pm line 2309.
Cannot exec : No such file or directory
Child process exited: 512
Use of uninitialized value in exec at /usr/perl5/site_perl/5.8.4/SVN/Notify.pm line 2309.
Can't exec "": No such file or directory at /usr/perl5/site_perl/5.8.4/SVN/Notify.pm line 2309.
Use of uninitialized value in concatenation (.) or string at /usr/perl5/site_perl/5.8.4/SVN/Notify.pm line 2309.
Cannot exec : No such file or directory
Use of uninitialized value in substitution (s///) at /usr/perl5/site_perl/5.8.4/SVN/Notify.pm line 1239.
Use of uninitialized value in substitution (s///) at /usr/perl5/site_perl/5.8.4/SVN/Notify.pm line 1240.
Child process exited: 512
Use of uninitialized value in index at /usr/perl5/site_perl/5.8.4/SVN/Notify.pm line 1309.
Use of uninitialized value in concatenation (.) or string at /usr/perl5/site_perl/5.8.4/SVN/Notify.pm line 1310.
Use of uninitialized value in substitution (s///) at (eval 6) line 1.
Use of uninitialized value in print at /usr/perl5/site_perl/5.8.4/SVN/Notify/HTML.pm line 323.
Use of uninitialized value in print at /usr/perl5/site_perl/5.8.4/SVN/Notify/HTML.pm line 323.
Use of uninitialized value in substitution (s///) at (eval 6) line 1.
Use of uninitialized value in print at /usr/perl5/site_perl/5.8.4/SVN/Notify/HTML.pm line 326.
Use of uninitialized value in print at /usr/perl5/site_perl/5.8.4/SVN/Notify/HTML.pm line 326.
Use of uninitialized value in exec at /usr/perl5/site_perl/5.8.4/SVN/Notify.pm line 2309.
Can't exec "": No such file or directory at /usr/perl5/site_perl/5.8.4/SVN/Notify.pm line 2309.
Use of uninitialized value in concatenation (.) or string at /usr/perl5/site_perl/5.8.4/SVN/Notify.pm line 2309.
Cannot exec : No such file or directory
Use of uninitialized value in concatenation (.) or string at /usr/perl5/site_perl/5.8.4/SVN/Notify.pm line 1697.
Child process exited: 512

Any ideas?</description>
		<content:encoded><![CDATA[<p>Hi Corey,</p>
<p>I&#039;m trying to get this set up for a group of developers.  Unfortunately I seem to be missing something.  The emails go out, but there is almost nothing in the content.  The author field isn&#039;t populated, the diff doesn&#039;t show, etc.  I tried changing the &#8211;with-diff flag to -attach-diff but that didn&#039;t really make any difference.  I mean, the diff is still empty, only now it&#039;s attached.  </p>
<p>This is on Solaris 10.  </p>
<p>It appears that Subversion is passing the correct variables, as I echoed them out to a temp file during one of the commits and here are REPOS, REV and REPOS_NAME:</p>
<p>/data/svn/testRepository<br />
11<br />
testRepository</p>
<p>Executing the raw command from the command line yielded this:</p>
<p># /usr/perl5/5.8.4/bin/svnnotify &#8211;repos-path /data/svn/testRepository &#8211;revision 11 &#8211;subject-cx &#8211;subject-prefix &#034;testRepository - &#034; &#8211;attach-diff &#8211;handler HTML::ColorDiff &#8211;to <a href="mailto:red@act.ed">red@act.ed</a> &#8211;from &#034;Subversion&#034; &#8211;reply-to &#034;Subversion&#034;<br />
Use of uninitialized value in exec at /usr/perl5/site_perl/5.8.4/SVN/Notify.pm line 2309.<br />
Can&#039;t exec &#034;&#034;: No such file or directory at /usr/perl5/site_perl/5.8.4/SVN/Notify.pm line 2309.<br />
Use of uninitialized value in concatenation (.) or string at /usr/perl5/site_perl/5.8.4/SVN/Notify.pm line 2309.<br />
Cannot exec : No such file or directory<br />
Child process exited: 512<br />
Use of uninitialized value in exec at /usr/perl5/site_perl/5.8.4/SVN/Notify.pm line 2309.<br />
Can&#039;t exec &#034;&#034;: No such file or directory at /usr/perl5/site_perl/5.8.4/SVN/Notify.pm line 2309.<br />
Use of uninitialized value in concatenation (.) or string at /usr/perl5/site_perl/5.8.4/SVN/Notify.pm line 2309.<br />
Cannot exec : No such file or directory<br />
Child process exited: 512<br />
Use of uninitialized value in exec at /usr/perl5/site_perl/5.8.4/SVN/Notify.pm line 2309.<br />
Can&#039;t exec &#034;&#034;: No such file or directory at /usr/perl5/site_perl/5.8.4/SVN/Notify.pm line 2309.<br />
Use of uninitialized value in concatenation (.) or string at /usr/perl5/site_perl/5.8.4/SVN/Notify.pm line 2309.<br />
Cannot exec : No such file or directory<br />
Use of uninitialized value in substitution (s///) at /usr/perl5/site_perl/5.8.4/SVN/Notify.pm line 1239.<br />
Use of uninitialized value in substitution (s///) at /usr/perl5/site_perl/5.8.4/SVN/Notify.pm line 1240.<br />
Child process exited: 512<br />
Use of uninitialized value in index at /usr/perl5/site_perl/5.8.4/SVN/Notify.pm line 1309.<br />
Use of uninitialized value in concatenation (.) or string at /usr/perl5/site_perl/5.8.4/SVN/Notify.pm line 1310.<br />
Use of uninitialized value in substitution (s///) at (eval 6) line 1.<br />
Use of uninitialized value in print at /usr/perl5/site_perl/5.8.4/SVN/Notify/HTML.pm line 323.<br />
Use of uninitialized value in print at /usr/perl5/site_perl/5.8.4/SVN/Notify/HTML.pm line 323.<br />
Use of uninitialized value in substitution (s///) at (eval 6) line 1.<br />
Use of uninitialized value in print at /usr/perl5/site_perl/5.8.4/SVN/Notify/HTML.pm line 326.<br />
Use of uninitialized value in print at /usr/perl5/site_perl/5.8.4/SVN/Notify/HTML.pm line 326.<br />
Use of uninitialized value in exec at /usr/perl5/site_perl/5.8.4/SVN/Notify.pm line 2309.<br />
Can&#039;t exec &#034;&#034;: No such file or directory at /usr/perl5/site_perl/5.8.4/SVN/Notify.pm line 2309.<br />
Use of uninitialized value in concatenation (.) or string at /usr/perl5/site_perl/5.8.4/SVN/Notify.pm line 2309.<br />
Cannot exec : No such file or directory<br />
Use of uninitialized value in concatenation (.) or string at /usr/perl5/site_perl/5.8.4/SVN/Notify.pm line 1697.<br />
Child process exited: 512</p>
<p>Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Get Subversion Updates via Email &#124; Slaptijack</title>
		<link>http://coreygilmore.com/blog/2007/08/20/subversion-emailing-users-on-commit/#comment-613</link>
		<dc:creator>Get Subversion Updates via Email &#124; Slaptijack</dc:creator>
		<pubDate>Sat, 03 Nov 2007 18:55:55 +0000</pubDate>
		<guid isPermaLink="false">http://coreygilmore.com/blog/2007/08/20/subversion-emailing-users-on-commit/#comment-613</guid>
		<description>[...] Update: Corey Gilmore apparently had the same brainwave about a week before I did: Subversion: Emailing users on commit. [...]</description>
		<content:encoded><![CDATA[<p>[...] Update: Corey Gilmore apparently had the same brainwave about a week before I did: Subversion: Emailing users on commit. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Links for Tue 21 Aug 2007 through Tue 28 Aug 2007 &#124; Joseph Scott's Blog</title>
		<link>http://coreygilmore.com/blog/2007/08/20/subversion-emailing-users-on-commit/#comment-93</link>
		<dc:creator>Links for Tue 21 Aug 2007 through Tue 28 Aug 2007 &#124; Joseph Scott's Blog</dc:creator>
		<pubDate>Wed, 29 Aug 2007 00:31:11 +0000</pubDate>
		<guid isPermaLink="false">http://coreygilmore.com/blog/2007/08/20/subversion-emailing-users-on-commit/#comment-93</guid>
		<description>[...] Subversion: Emailing users on commit &#124; corey gilmore&#8217;s blog - Expanding on sending commit notifications from Subversion via email.  Tags: subversion email [...]</description>
		<content:encoded><![CDATA[<p>[...] Subversion: Emailing users on commit | corey gilmore&#039;s blog - Expanding on sending commit notifications from Subversion via email.  Tags: subversion email [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
