<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to force Comments on SVN Commit</title>
	<atom:link href="http://www.anujgakhar.com/2008/02/14/how-to-force-comments-on-svn-commit/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.anujgakhar.com/2008/02/14/how-to-force-comments-on-svn-commit/</link>
	<description>Anuj @ ColdFusion, Flex and some more....</description>
	<lastBuildDate>Wed, 10 Mar 2010 09:31:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Eric</title>
		<link>http://www.anujgakhar.com/2008/02/14/how-to-force-comments-on-svn-commit/comment-page-1/#comment-3357</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Mon, 18 May 2009 17:12:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.anujgakhar.com/2008/02/14/how-to-force-comments-on-svn-commit/#comment-3357</guid>
		<description>The people who wrote the subversion manuals will know &quot;what the heck you&#039;re talking about when you say log message&quot; because that is what they call it. From page 27 of the svn-book .pdf: &quot;When you commit a change, you need to supply a log
message describing your change. Your log message will be attached to the new revision you create.&quot;</description>
		<content:encoded><![CDATA[<p>The people who wrote the subversion manuals will know &#8220;what the heck you&#8217;re talking about when you say log message&#8221; because that is what they call it. From page 27 of the svn-book .pdf: &#8220;When you commit a change, you need to supply a log<br />
message describing your change. Your log message will be attached to the new revision you create.&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.anujgakhar.com/2008/02/14/how-to-force-comments-on-svn-commit/comment-page-1/#comment-3353</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Fri, 15 May 2009 14:23:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.anujgakhar.com/2008/02/14/how-to-force-comments-on-svn-commit/#comment-3353</guid>
		<description>Thank you.  And I hate to spoil the party but you really mean &quot;comment&quot; not &quot;log message&quot;.  That message should make sense.  Logs are not comments.  It&#039;s important for those error messages to make sense to everyone on the team.  Nobody will know what the heck you&#039;re talking about when you say log message.</description>
		<content:encoded><![CDATA[<p>Thank you.  And I hate to spoil the party but you really mean &#8220;comment&#8221; not &#8220;log message&#8221;.  That message should make sense.  Logs are not comments.  It&#8217;s important for those error messages to make sense to everyone on the team.  Nobody will know what the heck you&#8217;re talking about when you say log message.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://www.anujgakhar.com/2008/02/14/how-to-force-comments-on-svn-commit/comment-page-1/#comment-3351</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Mon, 11 May 2009 14:51:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.anujgakhar.com/2008/02/14/how-to-force-comments-on-svn-commit/#comment-3351</guid>
		<description>@ John - 
For Windows the tmpl files must be renamed in order to execute for example pre-commit.bat

- Eric</description>
		<content:encoded><![CDATA[<p>@ John &#8211;<br />
For Windows the tmpl files must be renamed in order to execute for example pre-commit.bat</p>
<p>- Eric</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anuj</title>
		<link>http://www.anujgakhar.com/2008/02/14/how-to-force-comments-on-svn-commit/comment-page-1/#comment-3349</link>
		<dc:creator>Anuj</dc:creator>
		<pubDate>Sun, 10 May 2009 05:16:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.anujgakhar.com/2008/02/14/how-to-force-comments-on-svn-commit/#comment-3349</guid>
		<description>Anuj,

I am having trouble, getting the script to fire.In other words, I can still get the commit to go ahead without any comments.
I have SVN running on a Windows XP machine. I restarted SVN after adding the script to the pre-commit.tmpl in the {hooks} directory.Any ideas??

Thanks,
John</description>
		<content:encoded><![CDATA[<p>Anuj,</p>
<p>I am having trouble, getting the script to fire.In other words, I can still get the commit to go ahead without any comments.<br />
I have SVN running on a Windows XP machine. I restarted SVN after adding the script to the pre-commit.tmpl in the {hooks} directory.Any ideas??</p>
<p>Thanks,<br />
John</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anuj Gakhar</title>
		<link>http://www.anujgakhar.com/2008/02/14/how-to-force-comments-on-svn-commit/comment-page-1/#comment-3326</link>
		<dc:creator>Anuj Gakhar</dc:creator>
		<pubDate>Thu, 23 Apr 2009 11:12:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.anujgakhar.com/2008/02/14/how-to-force-comments-on-svn-commit/#comment-3326</guid>
		<description>@Kogi, thanks for posting that here. Much appreciated.</description>
		<content:encoded><![CDATA[<p>@Kogi, thanks for posting that here. Much appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: KOGI</title>
		<link>http://www.anujgakhar.com/2008/02/14/how-to-force-comments-on-svn-commit/comment-page-1/#comment-3323</link>
		<dc:creator>KOGI</dc:creator>
		<pubDate>Wed, 22 Apr 2009 19:33:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.anujgakhar.com/2008/02/14/how-to-force-comments-on-svn-commit/#comment-3323</guid>
		<description>Here is a simple *nix version that I use:

#!/bin/sh

REPOS=&quot;$1&quot;
TXN=&quot;$2&quot;

# Make sure that the log message contains some text.
SVNLOOK=/usr/local/bin/svnlook
$SVNLOOK log -t &quot;$TXN&quot; &quot;$REPOS&quot; &#124; grep &quot;.\{5,\}&quot; &amp;&amp; exit 0

# If we haven&#039;t already exited, there was an error
echo &quot;*** Your commit has been blocked because you didn&#039;t give any log message or your log message was too short.&quot; 1&gt;&amp;2
echo &quot;Please write a log message describing the purpose of your changes and then try committing again.&quot; 1&gt;&amp;2
exit 1</description>
		<content:encoded><![CDATA[<p>Here is a simple *nix version that I use:</p>
<p>#!/bin/sh</p>
<p>REPOS=&#8221;$1&#8243;<br />
TXN=&#8221;$2&#8243;</p>
<p># Make sure that the log message contains some text.<br />
SVNLOOK=/usr/local/bin/svnlook<br />
$SVNLOOK log -t &#8220;$TXN&#8221; &#8220;$REPOS&#8221; | grep &#8220;.\{5,\}&#8221; &amp;&amp; exit 0</p>
<p># If we haven&#8217;t already exited, there was an error<br />
echo &#8220;*** Your commit has been blocked because you didn&#8217;t give any log message or your log message was too short.&#8221; 1&gt;&amp;2<br />
echo &#8220;Please write a log message describing the purpose of your changes and then try committing again.&#8221; 1&gt;&amp;2<br />
exit 1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anuj Gakhar</title>
		<link>http://www.anujgakhar.com/2008/02/14/how-to-force-comments-on-svn-commit/comment-page-1/#comment-3314</link>
		<dc:creator>Anuj Gakhar</dc:creator>
		<pubDate>Mon, 20 Apr 2009 19:36:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.anujgakhar.com/2008/02/14/how-to-force-comments-on-svn-commit/#comment-3314</guid>
		<description>@Senthil, I totally agree to that. If someone wants to break this script, they can by entering blank spaces, whats important is the developer training.</description>
		<content:encoded><![CDATA[<p>@Senthil, I totally agree to that. If someone wants to break this script, they can by entering blank spaces, whats important is the developer training.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Senthil</title>
		<link>http://www.anujgakhar.com/2008/02/14/how-to-force-comments-on-svn-commit/comment-page-1/#comment-3313</link>
		<dc:creator>Senthil</dc:creator>
		<pubDate>Mon, 20 Apr 2009 17:26:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.anujgakhar.com/2008/02/14/how-to-force-comments-on-svn-commit/#comment-3313</guid>
		<description>Great script.  However developer training is the more essential part of the equation.  Establish a good commenting standard &amp; guideline and make sure they follow it.  The script can then be enhanced to validate the standard (such as Defect id, defect type, etc)</description>
		<content:encoded><![CDATA[<p>Great script.  However developer training is the more essential part of the equation.  Establish a good commenting standard &amp; guideline and make sure they follow it.  The script can then be enhanced to validate the standard (such as Defect id, defect type, etc)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: joan severance illicit behavior</title>
		<link>http://www.anujgakhar.com/2008/02/14/how-to-force-comments-on-svn-commit/comment-page-1/#comment-3292</link>
		<dc:creator>joan severance illicit behavior</dc:creator>
		<pubDate>Sun, 12 Apr 2009 11:56:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.anujgakhar.com/2008/02/14/how-to-force-comments-on-svn-commit/#comment-3292</guid>
		<description>I have pre-commit.bat to customize the commit process in svn . I am calling a perl script from this batch file.</description>
		<content:encoded><![CDATA[<p>I have pre-commit.bat to customize the commit process in svn . I am calling a perl script from this batch file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anuj Gakhar</title>
		<link>http://www.anujgakhar.com/2008/02/14/how-to-force-comments-on-svn-commit/comment-page-1/#comment-3232</link>
		<dc:creator>Anuj Gakhar</dc:creator>
		<pubDate>Wed, 25 Mar 2009 08:58:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.anujgakhar.com/2008/02/14/how-to-force-comments-on-svn-commit/#comment-3232</guid>
		<description>@Raj, I think it should be called pre-commit.bat if I am not mistaken.

http://svnbook.red-bean.com/en/1.4/svn.ref.reposhooks.pre-commit.html</description>
		<content:encoded><![CDATA[<p>@Raj, I think it should be called pre-commit.bat if I am not mistaken.</p>
<p><a href="http://svnbook.red-bean.com/en/1.4/svn.ref.reposhooks.pre-commit.html" rel="nofollow">http://svnbook.red-bean.com/en/1.4/svn.ref.reposhooks.pre-commit.html</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
