<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Mercurial wins me over</title>
	<atom:link href="http://closingbraces.net/2007/11/06/mercurial-wins-me-over/feed/" rel="self" type="application/rss+xml" />
	<link>http://closingbraces.net/2007/11/06/mercurial-wins-me-over/</link>
	<description>After-hours notes and opinions on Java and system development</description>
	<lastBuildDate>Sat, 13 Feb 2010 02:18:24 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: sPOiDar</title>
		<link>http://closingbraces.net/2007/11/06/mercurial-wins-me-over/#comment-4610</link>
		<dc:creator>sPOiDar</dc:creator>
		<pubDate>Sat, 13 Feb 2010 02:18:24 +0000</pubDate>
		<guid isPermaLink="false">http://closingbraces.net/2007/11/06/mercurial-wins-me-over/#comment-4610</guid>
		<description>Unix is cool:

find . -type d -empty &#124;xargs -i{} touch &quot;{}&quot;/.keep</description>
		<content:encoded><![CDATA[<p>Unix is cool:</p>
<p>find . -type d -empty |xargs -i{} touch &#8220;{}&#8221;/.keep</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: closingbraces</title>
		<link>http://closingbraces.net/2007/11/06/mercurial-wins-me-over/#comment-4583</link>
		<dc:creator>closingbraces</dc:creator>
		<pubDate>Sun, 09 Aug 2009 21:29:30 +0000</pubDate>
		<guid isPermaLink="false">http://closingbraces.net/2007/11/06/mercurial-wins-me-over/#comment-4583</guid>
		<description>Jonny, thanks for pointing out your &lt;a href=&quot;http://code.google.com/p/markemptydirs/&quot; rel=&quot;nofollow&quot;&gt;markemptydirs&lt;/a&gt; tool. Looks like a nice simple answer for automatically creating and removing placeholder files. It doesn&#039;t suit me personally at the moment due to being .Net or needing Mono (not worth introducing these into my build process and then administer/maintain/patch etc for something as minor as this), but handy to know about, and I can see it being a neat little answer for anyone who wants to automate this.</description>
		<content:encoded><![CDATA[<p>Jonny, thanks for pointing out your <a href="http://code.google.com/p/markemptydirs/" rel="nofollow">markemptydirs</a> tool. Looks like a nice simple answer for automatically creating and removing placeholder files. It doesn&#8217;t suit me personally at the moment due to being .Net or needing Mono (not worth introducing these into my build process and then administer/maintain/patch etc for something as minor as this), but handy to know about, and I can see it being a neat little answer for anyone who wants to automate this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonny Dee</title>
		<link>http://closingbraces.net/2007/11/06/mercurial-wins-me-over/#comment-4582</link>
		<dc:creator>Jonny Dee</dc:creator>
		<pubDate>Sun, 09 Aug 2009 15:47:06 +0000</pubDate>
		<guid isPermaLink="false">http://closingbraces.net/2007/11/06/mercurial-wins-me-over/#comment-4582</guid>
		<description>Hi, if you want an open source tool that manages the creation and deletion of placeholder files automatically just have a look at http://freshmeat.net/projects/markemptydirs.</description>
		<content:encoded><![CDATA[<p>Hi, if you want an open source tool that manages the creation and deletion of placeholder files automatically just have a look at <a href="http://freshmeat.net/projects/markemptydirs" rel="nofollow">http://freshmeat.net/projects/markemptydirs</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: closingbraces</title>
		<link>http://closingbraces.net/2007/11/06/mercurial-wins-me-over/#comment-4505</link>
		<dc:creator>closingbraces</dc:creator>
		<pubDate>Mon, 28 Jul 2008 10:04:24 +0000</pubDate>
		<guid isPermaLink="false">http://closingbraces.net/2007/11/06/mercurial-wins-me-over/#comment-4505</guid>
		<description>Thanks Pocho.</description>
		<content:encoded><![CDATA[<p>Thanks Pocho.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pocho</title>
		<link>http://closingbraces.net/2007/11/06/mercurial-wins-me-over/#comment-4504</link>
		<dc:creator>Pocho</dc:creator>
		<pubDate>Mon, 28 Jul 2008 04:39:39 +0000</pubDate>
		<guid isPermaLink="false">http://closingbraces.net/2007/11/06/mercurial-wins-me-over/#comment-4504</guid>
		<description>If you want to automatically create keep files for empty directories, here is a Python script that&#039;ll do just that.

&lt;code&gt;
import os
from os.path import join, getsize
for root, dirs, files in os.walk(&#039;C:/proyects/myproject&#039;):
    print root, &quot;... &quot;,
    if len(dirs) == 0 and len(files) == 0:
        open(root + &quot;/keep&quot;, &#039;w&#039;)
        print &quot;creating keep&quot;
    else:
        print &#039;&#039;

os.system(&#039;pause&#039;)
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>If you want to automatically create keep files for empty directories, here is a Python script that&#8217;ll do just that.</p>
<p><code><br />
import os<br />
from os.path import join, getsize<br />
for root, dirs, files in os.walk('C:/proyects/myproject'):<br />
    print root, "... ",<br />
    if len(dirs) == 0 and len(files) == 0:<br />
        open(root + "/keep", 'w')<br />
        print "creating keep"<br />
    else:<br />
        print ''</p>
<p>os.system('pause')<br />
</code></p>
]]></content:encoded>
	</item>
</channel>
</rss>
