<?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: Getting latest tagged revision in SVN from DOS/Batch script</title>
	<atom:link href="http://www.markhneedham.com/blog/2008/08/16/getting-latest-tagged-revision-in-svn-from-dosbatch-script/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.markhneedham.com/blog/2008/08/16/getting-latest-tagged-revision-in-svn-from-dosbatch-script/</link>
	<description>Thoughts on Software Development</description>
	<lastBuildDate>Sat, 11 Feb 2012 23:17:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Andrew</title>
		<link>http://www.markhneedham.com/blog/2008/08/16/getting-latest-tagged-revision-in-svn-from-dosbatch-script/comment-page-1/#comment-104</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Fri, 29 Aug 2008 19:45:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=127#comment-104</guid>
		<description>Your script works great except in one case...
Suppse you made a tag by mistake, or misspelled it, so you make the right tag and then delete the bad one. When you get the log, the last event was the deletion, and you are not getting the last real tag!
Do you have a workaround for this?</description>
		<content:encoded><![CDATA[<p>Your script works great except in one case&#8230;<br />
Suppse you made a tag by mistake, or misspelled it, so you make the right tag and then delete the bad one. When you get the log, the last event was the deletion, and you are not getting the last real tag!<br />
Do you have a workaround for this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: svnnoob</title>
		<link>http://www.markhneedham.com/blog/2008/08/16/getting-latest-tagged-revision-in-svn-from-dosbatch-script/comment-page-1/#comment-30</link>
		<dc:creator>svnnoob</dc:creator>
		<pubDate>Sat, 16 Aug 2008 02:59:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.markhneedham.com/blog/?p=127#comment-30</guid>
		<description>The way I am doing it with php is as follows

&lt;code&gt;
        $html = file_get_contents(&quot;http://svn-whatever.com/tags/&quot;);
        if(preg_match_all(&#039;@\\&lt;a&gt;@U&#039;, $html, $matches)){
                echo str_replace(&quot;/&quot;, &quot;&quot;, $matches[1][count($matches[1]) - 1]);
        }
&lt;/code&gt;

Shame that there is no way to do it directly with svn :/ but thanks for the post all the same</description>
		<content:encoded><![CDATA[<p>The way I am doing it with php is as follows</p>
<p><code><br />
        $html = file_get_contents("http://svn-whatever.com/tags/");<br />
        if(preg_match_all('@\\<a>@U', $html, $matches)){<br />
                echo str_replace("/", "", $matches[1][count($matches[1]) - 1]);<br />
        }<br />
</a></code></p>
<p>Shame that there is no way to do it directly with svn :/ but thanks for the post all the same</p>
]]></content:encoded>
	</item>
</channel>
</rss>

