<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Revium &#187; svn</title>
	<atom:link href="http://www.revium.com.au/tags/svn/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.revium.com.au</link>
	<description>All things web.</description>
	<lastBuildDate>Wed, 01 Sep 2010 05:47:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Sorting out SVN checkin/checkout&#160;issues</title>
		<link>http://www.revium.com.au/articles/sandbox/sorting-out-svn-checkincheckout-issues/</link>
		<comments>http://www.revium.com.au/articles/sandbox/sorting-out-svn-checkincheckout-issues/#comments</comments>
		<pubDate>Fri, 07 May 2010 01:40:19 +0000</pubDate>
		<dc:creator>Evgeny Petrov</dc:creator>
				<category><![CDATA[Revium Sandbox]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[windows explorer]]></category>
		<category><![CDATA[windows search]]></category>

		<guid isPermaLink="false">http://www.revium.com.au/?p=1912</guid>
		<description><![CDATA[As a software developer I work with SVN (our source control system) pretty extensively on a day-to-day basis. Having worked with several other systems...


Related posts:<ol><li><a href='http://www.revium.com.au/articles/sandbox/office-2007-files-and-zip-files/' rel='bookmark' title='Permanent Link: Office 2007 and Zip&nbsp;files'>Office 2007 and Zip&nbsp;files</a> <small>Recently one of our clients reported that some visitors were...</small></li>
<li><a href='http://www.revium.com.au/articles/sandbox/creating-deployment-packages-in-svn/' rel='bookmark' title='Permanent Link: Creating deployment packages in&nbsp;SVN'>Creating deployment packages in&nbsp;SVN</a> <small>In software development (in an ASP.NET web development in particular)...</small></li>
<li><a href='http://www.revium.com.au/articles/sandbox/degrading-script-tags/' rel='bookmark' title='Permanent Link: Degrading Script&nbsp;Tags'>Degrading Script&nbsp;Tags</a> <small>If you&#8217;re a fan of John Resig&#8217;s blog (jQuery creator),...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>As a software developer I work with SVN (our source control system) pretty extensively on a day-to-day basis. Having worked with several other systems in the past I must admit it is an excellent source/version control system, very easy to use for simple routine operations, but the one which has tons of small very useful (sometimes just amazingly useful) extensions. However it&#8217;s not without it&#8217;s own glitches.</p>
<p>In particular I&#8217;m talking about a &#8220;dead end&#8221; situation when there is a checkin/checkout conflict. These are details of it:</p>
<ul>
<li>There is a working folder locally on my machine with numerous sub-folders and files in it, all of them are under Subversion control.</li>
<li>Apparently there are new files in SVN repository within this folder, added by other developers. These files are not yet in my working folder, but for whatever reason SVN thinks that they are.</li>
<li>When I do SVN Update in Tortoise SVN, nothing gets added into my working folder, because files are already marked as local in system SVN files.</li>
<li>If I do SVN Clean-up, it finishes successfully, but doesn&#8217;t resolve the issue.</li>
<li>If I manually place these new files into my working folder and do SVN Commit, it fails to do because files are already in SVN repository.</li>
</ul>
<p>Okay, where to from here? I cannot checkout and I cannot commit, clean-up doesn&#8217;t work. This situation happens to me every now and then. Every time it is a painful effort to get it resolved. On-line search doesn&#8217;t help much. Finally yesterday I came up with a reasonably easy approach &#8211; Windows Explorer came to the rescue. Just make sure first that all changed items (if you have any) in your working folder are committed to SVN.</p>
<p>First I thought about creating a batch script to delete all system &#8220;.svn&#8221; folders within my working folder, but realised that I may lose this script in some time. Apparently an easier way is to open a Windows Explorer, navigate to your working folder and do search for &#8220;.svn&#8221;. The result might look like that (image is taken on Windows 7, but you can do the same on Vista or XP):</p>
<p><a href="http://www.revium.com.au/cms/wp-content/uploads/2010/05/svn-search.png"><img title="svn-search" src="http://www.revium.com.au/cms/wp-content/uploads/2010/05/svn-search.png" alt="" width="885" height="580" /></a></p>
<p>Now the only thing you need to do is to select all items and delete them. All of a sudden your working folder gets out of SVN control. Then in Windows Explorer navigate to your folder, right click with your mouse and do SVN Checkout &#8211; this will ensure that it gets back under SVN control with all missing files in place and order restored.</p>


<p>Related posts:<ol><li><a href='http://www.revium.com.au/articles/sandbox/office-2007-files-and-zip-files/' rel='bookmark' title='Permanent Link: Office 2007 and Zip&nbsp;files'>Office 2007 and Zip&nbsp;files</a> <small>Recently one of our clients reported that some visitors were...</small></li>
<li><a href='http://www.revium.com.au/articles/sandbox/creating-deployment-packages-in-svn/' rel='bookmark' title='Permanent Link: Creating deployment packages in&nbsp;SVN'>Creating deployment packages in&nbsp;SVN</a> <small>In software development (in an ASP.NET web development in particular)...</small></li>
<li><a href='http://www.revium.com.au/articles/sandbox/degrading-script-tags/' rel='bookmark' title='Permanent Link: Degrading Script&nbsp;Tags'>Degrading Script&nbsp;Tags</a> <small>If you&#8217;re a fan of John Resig&#8217;s blog (jQuery creator),...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.revium.com.au/articles/sandbox/sorting-out-svn-checkincheckout-issues/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Creating deployment packages in&#160;SVN</title>
		<link>http://www.revium.com.au/articles/sandbox/creating-deployment-packages-in-svn/</link>
		<comments>http://www.revium.com.au/articles/sandbox/creating-deployment-packages-in-svn/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 08:01:27 +0000</pubDate>
		<dc:creator>Evgeny Petrov</dc:creator>
				<category><![CDATA[Revium Sandbox]]></category>
		<category><![CDATA[deployment]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.revium.com.au/?p=1371</guid>
		<description><![CDATA[In software development (in an ASP.NET web development in particular) there are always repetitive time consuming tasks, which we would like to automate somehow. One of...


Related posts:<ol><li><a href='http://www.revium.com.au/articles/sandbox/sorting-out-svn-checkincheckout-issues/' rel='bookmark' title='Permanent Link: Sorting out SVN checkin/checkout&nbsp;issues'>Sorting out SVN checkin/checkout&nbsp;issues</a> <small>As a software developer I work with SVN (our source...</small></li>
<li><a href='http://www.revium.com.au/articles/blog/search-engine-marketing-sem/' rel='bookmark' title='Permanent Link: Search engine marketing:&nbsp;SEM'>Search engine marketing:&nbsp;SEM</a> <small>We&#8217;re always getting approached by customers asking us about how...</small></li>
<li><a href='http://www.revium.com.au/articles/sandbox/javascript-window-tiling/' rel='bookmark' title='Permanent Link: Javascript Window&nbsp;Tiling'>Javascript Window&nbsp;Tiling</a> <small>We currently have a customer who needs to track numerous...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>In software development (in an ASP.NET web development in particular) there are always repetitive time consuming tasks, which we would like to automate somehow. One of those things is the permanent need to create deployment/update packages with files which were changed since the last deployment. Until a week ago I have been creating this packages manually, simply by collecting changed files from various folders, organising them and deploying  to the web hosting server. Last week I got very annoyed with that and after some research figured out how to utilize SVN/Subversion to do exactly that for you automatically.</p>
<p>Great. Just look at the next few screenshots how easy this is (just a note &#8211; this is demonstrated with the Windows SVN client &#8211; <a href="http://tortoisesvn.tigris.org/" target="_blank">TortoiseSVN</a>).</p>
<h3>Step 1.</h3>
<p>Open Repo-Browser and navigate to your website folder.</p>
<p><br class="spacer_" /></p>
<div id="attachment_1565" class="wp-caption alignnone" style="width: 310px"><a href="http://www.revium.com.au/cms/wp-content/uploads/2010/01/repo.jpg"><img class="size-medium wp-image-1565" title="repo" src="http://www.revium.com.au/cms/wp-content/uploads/2010/01/repo-300x230.jpg" alt="" width="300" height="230" /></a><p class="wp-caption-text">repo-browser in TortoiseSVN</p></div>
<p><br class="spacer_" /></p>
<h3>Step 2.</h3>
<p>Right click -Show Log, then select all revisions from top to bottom which you want to create a deployment package for.</p>
<p><br class="spacer_" /></p>
<div id="attachment_1566" class="wp-caption alignnone" style="width: 263px"><a href="http://www.revium.com.au/cms/wp-content/uploads/2010/01/repo1.jpg"><img class="size-medium wp-image-1566" title="Log screen in TortoiseSVN" src="http://www.revium.com.au/cms/wp-content/uploads/2010/01/repo1-253x300.jpg" alt="" width="253" height="300" /></a><p class="wp-caption-text">Log screen in TortoiseSVN</p></div>
<p><br class="spacer_" /></p>
<h3>Step 3.</h3>
<p>Right click on the selection and select Compare Revisions.</p>
<p><br class="spacer_" /></p>
<div id="attachment_1567" class="wp-caption alignnone" style="width: 310px"><a href="http://www.revium.com.au/cms/wp-content/uploads/2010/01/select.jpg"><img class="size-medium wp-image-1567" title="Compare revisions" src="http://www.revium.com.au/cms/wp-content/uploads/2010/01/select-300x205.jpg" alt="" width="300" height="205" /></a><p class="wp-caption-text">Compare revisions</p></div>
<p><br class="spacer_" /></p>
<h3>Step 4.</h3>
<p>In the Changed Files Screen select all files, right click with your mouse and select Export selection to..</p>
<p><br class="spacer_" /></p>
<div id="attachment_1568" class="wp-caption alignnone" style="width: 294px"><a href="http://www.revium.com.au/cms/wp-content/uploads/2010/01/select1.jpg"><img class="size-medium wp-image-1568" title="Export files" src="http://www.revium.com.au/cms/wp-content/uploads/2010/01/select1-284x300.jpg" alt="" width="284" height="300" /></a><p class="wp-caption-text">Export files</p></div>
<p><br class="spacer_" /></p>
<p>And that is it <img src='http://www.revium.com.au/cms/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Enjoy your just created deployment package &#8211; structure of folders with files which were changed in your selected SVN revisions. Zip it up and deploy!</p>
<p><br class="spacer_" /></p>
<div id="attachment_1569" class="wp-caption alignnone" style="width: 310px"><a href="http://www.revium.com.au/cms/wp-content/uploads/2010/01/package.jpg"><img class="size-medium wp-image-1569" title="deployment package" src="http://www.revium.com.au/cms/wp-content/uploads/2010/01/package-300x194.jpg" alt="" width="300" height="194" /></a><p class="wp-caption-text">deployment package</p></div>
<p><br class="spacer_" /></p>


<p>Related posts:<ol><li><a href='http://www.revium.com.au/articles/sandbox/sorting-out-svn-checkincheckout-issues/' rel='bookmark' title='Permanent Link: Sorting out SVN checkin/checkout&nbsp;issues'>Sorting out SVN checkin/checkout&nbsp;issues</a> <small>As a software developer I work with SVN (our source...</small></li>
<li><a href='http://www.revium.com.au/articles/blog/search-engine-marketing-sem/' rel='bookmark' title='Permanent Link: Search engine marketing:&nbsp;SEM'>Search engine marketing:&nbsp;SEM</a> <small>We&#8217;re always getting approached by customers asking us about how...</small></li>
<li><a href='http://www.revium.com.au/articles/sandbox/javascript-window-tiling/' rel='bookmark' title='Permanent Link: Javascript Window&nbsp;Tiling'>Javascript Window&nbsp;Tiling</a> <small>We currently have a customer who needs to track numerous...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.revium.com.au/articles/sandbox/creating-deployment-packages-in-svn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
