<?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>Simian Enterprises &#187; Source Control</title>
	<atom:link href="https://www.simianenterprises.co.uk/blog/category/source-control/feed" rel="self" type="application/rss+xml" />
	<link>https://www.simianenterprises.co.uk/blog</link>
	<description>Web development, Coldfusion, CSS, a bit of this, a bit of that...</description>
	<lastBuildDate>Sat, 26 Apr 2014 00:42:55 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.2.7</generator>
	<item>
		<title>Mercurial tool to export changed files</title>
		<link>https://www.simianenterprises.co.uk/blog/mercurial-export-changed-files-80.html</link>
		<comments>https://www.simianenterprises.co.uk/blog/mercurial-export-changed-files-80.html#comments</comments>
		<pubDate>Tue, 27 Apr 2010 15:58:08 +0000</pubDate>
		<dc:creator><![CDATA[Gary]]></dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Source Control]]></category>
		<category><![CDATA[Website Development]]></category>

		<guid isPermaLink="false">http://www.simianenterprises.co.uk/blog/?p=80</guid>
		<description><![CDATA[Recently, my friend Chris Brown convinced me to move my source control from SVN to Mercurial (or more specifically, Kiln). I found Mercurial to be infinitely better than SVN in almost all resepects, but there was one thing missing that I could do with Tortoise SVN but not Tortoise HG, and that was to export [&#8230;]<div class='yarpp-related-rss yarpp-related-none'>

No related posts.
</div>
]]></description>
				<content:encoded><![CDATA[<p>Recently, my friend <a title="Chris Brown on Twitter" href="http://www.twitter.com/cb46">Chris Brown</a> convinced me to move my source control from SVN to <a title="Mercurial" href="http://mercurial.selenic.com/">Mercurial</a> (or more specifically, <a title="Kiln" href="http://www.fogcreek.com/kiln/">Kiln</a>).<br />
I found Mercurial to be infinitely better than SVN in almost all resepects, but there was one thing missing that I could do with Tortoise SVN but not Tortoise HG, and that was to export any changed files from one revision to the next &#8211; something which as a web developer, I have to do very often.</p>
<p>Well, Chris came to the rescue and created a simple program to do exactly that. So here&#8217;s Chris to explain the program and how it works:<br />
Download links are at the bottom of the page.<br />
<span id="more-80"></span></p>
<blockquote><p>Hi,</p>
<p>My name is Chris Brown and I am a big fan of FogBugz so when FogCreek announced Kiln (a mercurial client) I immediately jumped on the bandwagon moved to Kiln and have never looked back. The Kiln Mercurial solution solved all the issues I had with merging and speed in Subversion and I was a very happy man indeed.</p>
<p>Then one day whilst chatting to my good friend Gary @ Simian Enterprises (who has kindly let me blog via his site on this occasion) I mentioned Kiln to him and proceeded to wax lyrical about how great it was until his ears were bleeding and to my surprise I had convinced him to give Kiln a try.</p>
<p>Now Gary was at first very happy and was as thrilled as me at the beautiful Kiln web experience and TortoiseHg integration, however there was one nagging feature he used a lot in Subversion which does not exist within the Mercurial system, and after doing a bit of googling it seems a few other people hit the same snag.</p>
<p>It is not possible with TortoiseHg to export a copy of all files changed since a specified revision. Now to most this would not cause much of an issue, I myself have never had this need, and do not think I will, but for those working on big complex websites like Gary does this is a big issue.</p>
<p>When uploading the new version of a site (usually by FTP) this can take some time, and I am sure most people will agree that uploading files with no changes is nothing but a waste of time. Being able to export just the files changed since the last update and only updating these makes a lot more sense and will result in far fewer files being transferred and as mentioned TortoiseSVN has this capability as standard.</p>
<p>With any luck one day the TortoiseHg system can also have this command, until then I have written a small application in Visual Studio 2010 which does what Gary needed and hopefully it will be of use to other Kiln/Mercurial users too.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-92" title="Mercurial Changed Files Exporter" src="http://www.simianenterprises.co.uk/blog/wp-content/uploads/2010/04/mercurialchangedfilesexporter1.gif" alt="Mercurial Changed Files Exporter" width="631" height="312" /></p>
<p>Please note: this is one of those programs I knocked up very quickly, it does not have much error handling and the code is not that tidy, however it does work and I have provided both an installer for the app and the original Source Code, please feel free to amend as needed or build on this to meet your needs.</p>
<p>Below are details of each input and what it is used for and what the buttons do, this currently checks for changes between a revision and tip and assumes the current working folder is updated to Tip.</p>
<p><strong>Root Directory of mercurial repository:</strong> should point to the path of the root of your repo (where .hg lives)<br />
<strong>From Revision #:</strong> the revision number to check from<br />
<strong>Export target folder:</strong> the folder to copy changed files to (must be blank)<br />
<strong>List Changed Files:</strong> lists the files in the list box that will be copied based on current settings.<br />
<strong>Export Changed Files:</strong> same as above but also copied to the target folder/<br />
<strong>Close:</strong> does what it says on the tin.</p>
<p>If you like this little utiity and would like to make any comments you can find me on Twitter (<a title="Chris Brown on Twitter" href="http://www.twitter.com/cb46">@CB46</a>)<br />
Thanks<br />
Chris Brown</p>
<p><strong>Download: <a title="Mercurial Changed Files Exporter" href="/blog/wp-content/uploads/2010/04/mercurialchangedfilesexporter.zip">Windows Installer</a> | <a title="Mercurial Changed Files Exporter (Source)" href="/blog/wp-content/uploads/2010/04/mercurialchangedfilesexportersource.zip">Source</a></strong></p></blockquote>
<div class='yarpp-related-rss yarpp-related-none'>
<p>No related posts.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>https://www.simianenterprises.co.uk/blog/mercurial-export-changed-files-80.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
