<?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>KDBDallas &#187; Source Control</title>
	<atom:link href="http://kdbdallas.com/tag/source-control/feed/" rel="self" type="application/rss+xml" />
	<link>http://kdbdallas.com</link>
	<description>Mac and iPhone Developer, Husband, Father, all in one</description>
	<lastBuildDate>Tue, 03 Aug 2010 14:38:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Fix Mercurial Case Folding Collisions</title>
		<link>http://kdbdallas.com/2008/12/23/fix-mercurial-case-folding-collisions/</link>
		<comments>http://kdbdallas.com/2008/12/23/fix-mercurial-case-folding-collisions/#comments</comments>
		<pubDate>Wed, 24 Dec 2008 05:05:40 +0000</pubDate>
		<dc:creator>Dallas</dc:creator>
				<category><![CDATA[Mercurial]]></category>
		<category><![CDATA[Source Control]]></category>

		<guid isPermaLink="false">http://kdbdallas.com/?p=94</guid>
		<description><![CDATA[I switched awhile ago from SVN to Mercurial and I am loving it. One pain is if you create a file, check it in, and then later change the case (from &#8216;a&#8217; to &#8216;A&#8217; for example) and check that in, when you try and checkout the latest version you will get the error: &#8220;abort: case-folding [...]]]></description>
			<content:encoded><![CDATA[<p>I switched awhile ago from SVN to Mercurial and I am loving it.</p>
<p>One pain is if you create a file, check it in, and then later change the case (from &#8216;a&#8217; to &#8216;A&#8217; for example) and check that in, when you try and checkout the latest version you will get the error:</p>
<blockquote><p><em>&#8220;abort: case-folding collision between myFile.m and MyFile.m&#8221;</em></p></blockquote>
<p>This is one error/abort that doesn&#8217;t tell you how to fix it.</p>
<p>After some research I have found the following to work.</p>
<p><strong><em>Note:</em></strong> Notes are in Italic. Items you should replace with your own info are in Italic and Bold.</p>
<ol>
<li>hg clone <strong><em>https://username@myrepo-location.com/hg/index.cgi/MyProgram</em></strong></li>
<li>cd <strong><em>MyProgram</em></strong></li>
<li>hg debugsetparents <strong><em>11</em></strong> <em>(the revision number you need to fix)<br />
</em></li>
<li>hg debugrebuildstate</li>
<li>hg rm -A <strong><em>MyFile.m</em></strong> <em>(mark missing file as deleted)</em></li>
<li>hg ci -m &#8220;fix case collision&#8221;</li>
<li>hg manifest tip   <em>(confirm that the collision is gone)</em></li>
<li>cd ..</li>
<li>rm -rf <strong><em>MyProgram</em></strong></li>
<li>hg clone <strong><em>https://username@myrepo-location.com/hg/index.cgi/MyProgram</em></strong></li>
</ol>
<p>You should now have a clean clone of the repo.</p>
<p><em><strong>Note: </strong>It is possible that after doing the above you will be presented with the same error, but on a different file (if there are multiple conflicts). If that happens just do the above again for each conflict.</em></p>
<p><em><br />
</em></p>
]]></content:encoded>
			<wfw:commentRss>http://kdbdallas.com/2008/12/23/fix-mercurial-case-folding-collisions/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
