<?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: Creating a new project in Mercurial versus SVN</title>
	<atom:link href="http://spindrop.us/2008/07/22/creating-a-new-project-in-mercurial-versus-svn/feed/" rel="self" type="application/rss+xml" />
	<link>http://spindrop.us/2008/07/22/creating-a-new-project-in-mercurial-versus-svn/</link>
	<description>look at all this code you don't have to write</description>
	<lastBuildDate>Thu, 04 Mar 2010 08:43:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Paulo Sargaço</title>
		<link>http://spindrop.us/2008/07/22/creating-a-new-project-in-mercurial-versus-svn/comment-page-1/#comment-121416</link>
		<dc:creator>Paulo Sargaço</dc:creator>
		<pubDate>Tue, 22 Jul 2008 16:35:48 +0000</pubDate>
		<guid isPermaLink="false">http://spindrop.us/?p=186#comment-121416</guid>
		<description>&lt;p&gt;Hi.&lt;/p&gt;

&lt;p&gt;I&#039;m a casual user of SVN, never tried Hg. I tend to agree with you. The more common way of people doing things is to start a project in their own machines and only when they think they have something worth keeping do they about creating a repository in SVN. So it&#039;s almost certain that you&#039;ll be repeating those old steps from the irritating new project dance. Bloody annoying if you ask me!&lt;/p&gt;

&lt;p&gt;Cheers&lt;/p&gt;

&lt;p&gt;Paulo&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi.</p>

<p>I&#8217;m a casual user of SVN, never tried Hg. I tend to agree with you. The more common way of people doing things is to start a project in their own machines and only when they think they have something worth keeping do they about creating a repository in SVN. So it&#8217;s almost certain that you&#8217;ll be repeating those old steps from the irritating new project dance. Bloody annoying if you ask me!</p>

<p>Cheers</p>

<p>Paulo</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Dash</title>
		<link>http://spindrop.us/2008/07/22/creating-a-new-project-in-mercurial-versus-svn/comment-page-1/#comment-121398</link>
		<dc:creator>Dave Dash</dc:creator>
		<pubDate>Tue, 22 Jul 2008 15:19:08 +0000</pubDate>
		<guid isPermaLink="false">http://spindrop.us/?p=186#comment-121398</guid>
		<description>&lt;p&gt;Dean,&lt;/p&gt;

&lt;p&gt;Yeah, I suppose a simple shell command could automate the process, but it should be part of SVN.&lt;/p&gt;

&lt;p&gt;Giorgos,&lt;/p&gt;

&lt;p&gt;SVN was my intro into version control, so conventions likee branches tags etc are still stuck with me, but I like the idea of &quot;clone&quot;.  I&#039;m glad I posted this, I end up learning more from comments :)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Dean,</p>

<p>Yeah, I suppose a simple shell command could automate the process, but it should be part of SVN.</p>

<p>Giorgos,</p>

<p>SVN was my intro into version control, so conventions likee branches tags etc are still stuck with me, but I like the idea of &#8220;clone&#8221;.  I&#8217;m glad I posted this, I end up learning more from comments <img src='http://spindrop.us/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>]]></content:encoded>
	</item>
	<item>
		<title>By: Giorgos Keramidas</title>
		<link>http://spindrop.us/2008/07/22/creating-a-new-project-in-mercurial-versus-svn/comment-page-1/#comment-121396</link>
		<dc:creator>Giorgos Keramidas</dc:creator>
		<pubDate>Tue, 22 Jul 2008 15:12:08 +0000</pubDate>
		<guid isPermaLink="false">http://spindrop.us/?p=186#comment-121396</guid>
		<description>&lt;p&gt;Nice post :)&lt;/p&gt;

&lt;p&gt;Note that having a toplevel &quot;trunk&quot; with &quot;branches&quot; and &quot;tags&quot; in the same level is an svn convention that has grown out of the way subversion represents different branches by different repository subdirectories.&lt;/p&gt;

&lt;p&gt;You don&#039;t really need those in Hg, because whenever you want to &quot;fork&quot; the tree and start heading in a slightly different direction (a branch), you can clone the original:&lt;/p&gt;

&lt;pre&gt;
    % cd projects
    % hg clone foo-devel foo-1.0
    % cd foo-1.0
    % hack ; commit ; hack more ; commit more
&lt;/pre&gt;
</description>
		<content:encoded><![CDATA[<p>Nice post <img src='http://spindrop.us/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>

<p>Note that having a toplevel &#8220;trunk&#8221; with &#8220;branches&#8221; and &#8220;tags&#8221; in the same level is an svn convention that has grown out of the way subversion represents different branches by different repository subdirectories.</p>

<p>You don&#8217;t really need those in Hg, because whenever you want to &#8220;fork&#8221; the tree and start heading in a slightly different direction (a branch), you can clone the original:</p>

<pre>
    % cd projects
    % hg clone foo-devel foo-1.0
    % cd foo-1.0
    % hack ; commit ; hack more ; commit more
</pre>]]></content:encoded>
	</item>
	<item>
		<title>By: Dean Schulze</title>
		<link>http://spindrop.us/2008/07/22/creating-a-new-project-in-mercurial-versus-svn/comment-page-1/#comment-121395</link>
		<dc:creator>Dean Schulze</dc:creator>
		<pubDate>Tue, 22 Jul 2008 15:09:33 +0000</pubDate>
		<guid isPermaLink="false">http://spindrop.us/?p=186#comment-121395</guid>
		<description>&lt;p&gt;This is brain damage that svn inherited from cvs.  I&#039;ve wondered why every svn user hasn&#039;t complained loudly about this &quot;feature&quot;.&lt;/p&gt;

&lt;p&gt;You&#039;ve probably noticed that graphical tools like Subclipse don&#039;t have this problem.  The Team -&gt; Share Project menu item checks your project in and leaves you with a working copy.  The svn team should have included a command to do this too.&lt;/p&gt;

&lt;p&gt;I asked Mark Phippard about this and the sequence of commands that Subclipse uses to do a check in and get a working copy is below.  These are from some old notes of mine, so be sure to back up your project before trying this in case I made an error.&lt;/p&gt;

&lt;p&gt;svn mkdir -m &quot;Add new project dir to repos&quot; new&lt;em&gt;project&lt;/em&gt;dir&lt;em&gt;in&lt;/em&gt;repos_url&lt;/p&gt;

&lt;p&gt;cd new_project&lt;/p&gt;

&lt;p&gt;ls -a  //  shows no .svn directory&lt;/p&gt;

&lt;p&gt;//  now check out the empty repository directory into your project
svn co new&lt;em&gt;project&lt;/em&gt;dir&lt;em&gt;in&lt;/em&gt;repos_url .&lt;/p&gt;

&lt;p&gt;ls -a    //  now shows a .svn dir&lt;/p&gt;

&lt;p&gt;svn add --force .&lt;/p&gt;

&lt;p&gt;svn ci -m &quot;Initial import&quot;&lt;/p&gt;

&lt;p&gt;I don&#039;t know why the last step is a check-in instead of a commit.&lt;/p&gt;

&lt;p&gt;I also don&#039;t know why the svn FAQ and svn Redbook don&#039;t include this.  It would save a lot of aggravation.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>This is brain damage that svn inherited from cvs.  I&#8217;ve wondered why every svn user hasn&#8217;t complained loudly about this &#8220;feature&#8221;.</p>

<p>You&#8217;ve probably noticed that graphical tools like Subclipse don&#8217;t have this problem.  The Team -&gt; Share Project menu item checks your project in and leaves you with a working copy.  The svn team should have included a command to do this too.</p>

<p>I asked Mark Phippard about this and the sequence of commands that Subclipse uses to do a check in and get a working copy is below.  These are from some old notes of mine, so be sure to back up your project before trying this in case I made an error.</p>

<p>svn mkdir -m &#8220;Add new project dir to repos&#8221; new<em>project</em>dir<em>in</em>repos_url</p>

<p>cd new_project</p>

<p>ls -a  //  shows no .svn directory</p>

<p>//  now check out the empty repository directory into your project
svn co new<em>project</em>dir<em>in</em>repos_url .</p>

<p>ls -a    //  now shows a .svn dir</p>

<p>svn add &#8211;force .</p>

<p>svn ci -m &#8220;Initial import&#8221;</p>

<p>I don&#8217;t know why the last step is a check-in instead of a commit.</p>

<p>I also don&#8217;t know why the svn FAQ and svn Redbook don&#8217;t include this.  It would save a lot of aggravation.</p>]]></content:encoded>
	</item>
</channel>
</rss>
