<?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: Upgrading Drupal with Git</title>
	<atom:link href="http://www.versioncontrolblog.com/2007/08/02/upgrading-drupal-52-with-git/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.versioncontrolblog.com/2007/08/02/upgrading-drupal-52-with-git/</link>
	<description>Version control, software configuration management (SCM)</description>
	<lastBuildDate>Thu, 29 Oct 2009 13:18:01 +0300</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: bhirsch</title>
		<link>http://www.versioncontrolblog.com/2007/08/02/upgrading-drupal-52-with-git/comment-page-1/#comment-1943</link>
		<dc:creator>bhirsch</dc:creator>
		<pubDate>Thu, 29 Oct 2009 13:18:01 +0000</pubDate>
		<guid isPermaLink="false">http://versioncontrolblog.com/2007/08/02/upgrading-drupal-with-git/#comment-1943</guid>
		<description>I just started using git for version control with Drupal. I love it, but there&#039;s one thing that&#039;s driving me crazy: For some reason git merges my changes to settings.php every time I checkout a branch.

I want settings.php in my master branch to connect to one mysql database, while settings.php in the second branch should connect to another. But every time I switch branches, I get this error: 

bhirsch$ git checkout master
error: unable to unlink old &#039;sites/default/settings.php&#039; (Permission denied)
M	sites/default/settings.php
Switched to branch &#039;master&#039;
bhirsch$ 

Here are suggestions I&#039;ve picked up elsewhere that I&#039;ve tried, but haven&#039;t worked:
chmod og+w .git/object/16 
and 
chmod g+ws .git/

Any suggestions you can offer would be greatly appreciated.</description>
		<content:encoded><![CDATA[<p>I just started using git for version control with Drupal. I love it, but there&#8217;s one thing that&#8217;s driving me crazy: For some reason git merges my changes to settings.php every time I checkout a branch.</p>
<p>I want settings.php in my master branch to connect to one mysql database, while settings.php in the second branch should connect to another. But every time I switch branches, I get this error: </p>
<p>bhirsch$ git checkout master<br />
error: unable to unlink old &#8217;sites/default/settings.php&#8217; (Permission denied)<br />
M	sites/default/settings.php<br />
Switched to branch &#8216;master&#8217;<br />
bhirsch$ </p>
<p>Here are suggestions I&#8217;ve picked up elsewhere that I&#8217;ve tried, but haven&#8217;t worked:<br />
chmod og+w .git/object/16<br />
and<br />
chmod g+ws .git/</p>
<p>Any suggestions you can offer would be greatly appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: In the town called Workflow, lived three friends - Git, CVS and Drupal&#8230;. &#124; ArvinderKang.com</title>
		<link>http://www.versioncontrolblog.com/2007/08/02/upgrading-drupal-52-with-git/comment-page-1/#comment-1942</link>
		<dc:creator>In the town called Workflow, lived three friends - Git, CVS and Drupal&#8230;. &#124; ArvinderKang.com</dc:creator>
		<pubDate>Tue, 03 Mar 2009 02:42:56 +0000</pubDate>
		<guid isPermaLink="false">http://versioncontrolblog.com/2007/08/02/upgrading-drupal-with-git/#comment-1942</guid>
		<description>[...] by Version Control Blog, ToolmanTim and [...]</description>
		<content:encoded><![CDATA[<p>[...] by Version Control Blog, ToolmanTim and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: squadette</title>
		<link>http://www.versioncontrolblog.com/2007/08/02/upgrading-drupal-52-with-git/comment-page-1/#comment-1937</link>
		<dc:creator>squadette</dc:creator>
		<pubDate>Tue, 09 Dec 2008 23:05:26 +0000</pubDate>
		<guid isPermaLink="false">http://versioncontrolblog.com/2007/08/02/upgrading-drupal-with-git/#comment-1937</guid>
		<description>inc,

I do not :)</description>
		<content:encoded><![CDATA[<p>inc,</p>
<p>I do not :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: inc</title>
		<link>http://www.versioncontrolblog.com/2007/08/02/upgrading-drupal-52-with-git/comment-page-1/#comment-1936</link>
		<dc:creator>inc</dc:creator>
		<pubDate>Mon, 08 Dec 2008 07:13:40 +0000</pubDate>
		<guid isPermaLink="false">http://versioncontrolblog.com/2007/08/02/upgrading-drupal-with-git/#comment-1936</guid>
		<description>Thank you for the excellent article, but one thing is undefined.
How do you include changes made in Drupal database in your repositaries?</description>
		<content:encoded><![CDATA[<p>Thank you for the excellent article, but one thing is undefined.<br />
How do you include changes made in Drupal database in your repositaries?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Drupal Development and Deployment using Git &#124; ruzee.com - Steffen Rusitschka</title>
		<link>http://www.versioncontrolblog.com/2007/08/02/upgrading-drupal-52-with-git/comment-page-1/#comment-1770</link>
		<dc:creator>Drupal Development and Deployment using Git &#124; ruzee.com - Steffen Rusitschka</dc:creator>
		<pubDate>Sat, 25 Oct 2008 15:45:16 +0000</pubDate>
		<guid isPermaLink="false">http://versioncontrolblog.com/2007/08/02/upgrading-drupal-with-git/#comment-1770</guid>
		<description>[...] This part is similar to the method shown by the Version Control Blog, except I will not use cloning but branching instead. [...]</description>
		<content:encoded><![CDATA[<p>[...] This part is similar to the method shown by the Version Control Blog, except I will not use cloning but branching instead. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: drew</title>
		<link>http://www.versioncontrolblog.com/2007/08/02/upgrading-drupal-52-with-git/comment-page-1/#comment-1266</link>
		<dc:creator>drew</dc:creator>
		<pubDate>Thu, 26 Jun 2008 00:12:10 +0000</pubDate>
		<guid isPermaLink="false">http://versioncontrolblog.com/2007/08/02/upgrading-drupal-with-git/#comment-1266</guid>
		<description>This is very useful, thanks. 
There is a mirror of the entire Drupal cvs tree here, http://mikkel.hoegh.org/blog/2008/a_git_mirror_for_drupal_cvs 

This means you can use the Drupal Git repository (sounds like a fun place) as the pristine version and clone or branch it into other sites. I&#039;m not to sure if having the entire Drupal tree is a good idea though, since Git will pass the whole history from clone to clone. It makes it ridiculously easy to switch drupal versions for testing.

The best thing about this method is that it doesn&#039;t break the update status module like working with a cvs checkout does.</description>
		<content:encoded><![CDATA[<p>This is very useful, thanks.<br />
There is a mirror of the entire Drupal cvs tree here, <a href="http://mikkel.hoegh.org/blog/2008/a_git_mirror_for_drupal_cvs" onclick="javascript:pageTracker._trackPageview('/outbound/comment/http://mikkel.hoegh.org/blog/2008/a_git_mirror_for_drupal_cvs');" rel="nofollow">http://mikkel.hoegh.org/blog/2008/a_git_mirror_for_drupal_cvs</a> </p>
<p>This means you can use the Drupal Git repository (sounds like a fun place) as the pristine version and clone or branch it into other sites. I&#8217;m not to sure if having the entire Drupal tree is a good idea though, since Git will pass the whole history from clone to clone. It makes it ridiculously easy to switch drupal versions for testing.</p>
<p>The best thing about this method is that it doesn&#8217;t break the update status module like working with a cvs checkout does.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: squadette</title>
		<link>http://www.versioncontrolblog.com/2007/08/02/upgrading-drupal-52-with-git/comment-page-1/#comment-797</link>
		<dc:creator>squadette</dc:creator>
		<pubDate>Fri, 22 Feb 2008 20:46:12 +0000</pubDate>
		<guid isPermaLink="false">http://versioncontrolblog.com/2007/08/02/upgrading-drupal-with-git/#comment-797</guid>
		<description>benjamin,

fixed!  stupid wordpress.</description>
		<content:encoded><![CDATA[<p>benjamin,</p>
<p>fixed!  stupid wordpress.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: benjamin</title>
		<link>http://www.versioncontrolblog.com/2007/08/02/upgrading-drupal-52-with-git/comment-page-1/#comment-779</link>
		<dc:creator>benjamin</dc:creator>
		<pubDate>Mon, 18 Feb 2008 13:18:07 +0000</pubDate>
		<guid isPermaLink="false">http://versioncontrolblog.com/2007/08/02/upgrading-drupal-with-git/#comment-779</guid>
		<description>this line:
$ tar –strip-components=1 -C drupal -zxv -f drupal-5.2.tar.gz

results in this error:
tar: You may not specify more than one `-Acdtrux&#039; option

Urgh.  That&#039;s the line that&#039;s supposed to make all of this worthwhile  :-P

(I have read the tar man page more times than -- ah, I got it.  It needs to be doule-dash for a long-form command!)

Needs to be:

&lt;code&gt;$ tar --strip-components=1 -C drupal -zxv -f drupal-5.2.tar.gz&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>this line:<br />
$ tar –strip-components=1 -C drupal -zxv -f drupal-5.2.tar.gz</p>
<p>results in this error:<br />
tar: You may not specify more than one `-Acdtrux&#8217; option</p>
<p>Urgh.  That&#8217;s the line that&#8217;s supposed to make all of this worthwhile  :-P</p>
<p>(I have read the tar man page more times than &#8212; ah, I got it.  It needs to be doule-dash for a long-form command!)</p>
<p>Needs to be:</p>
<p><code>$ tar --strip-components=1 -C drupal -zxv -f drupal-5.2.tar.gz</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: squadette</title>
		<link>http://www.versioncontrolblog.com/2007/08/02/upgrading-drupal-52-with-git/comment-page-1/#comment-760</link>
		<dc:creator>squadette</dc:creator>
		<pubDate>Sun, 10 Feb 2008 17:35:54 +0000</pubDate>
		<guid isPermaLink="false">http://versioncontrolblog.com/2007/08/02/upgrading-drupal-with-git/#comment-760</guid>
		<description>hofo,

in short: merging will be much more tedious and error-prone.

In Git, merging really works like a charm. 

In Subversion -- wait for 1.5 where repeated merging will be much more integrated.</description>
		<content:encoded><![CDATA[<p>hofo,</p>
<p>in short: merging will be much more tedious and error-prone.</p>
<p>In Git, merging really works like a charm. </p>
<p>In Subversion &#8212; wait for 1.5 where repeated merging will be much more integrated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: squadette</title>
		<link>http://www.versioncontrolblog.com/2007/08/02/upgrading-drupal-52-with-git/comment-page-1/#comment-759</link>
		<dc:creator>squadette</dc:creator>
		<pubDate>Sun, 10 Feb 2008 17:34:11 +0000</pubDate>
		<guid isPermaLink="false">http://versioncontrolblog.com/2007/08/02/upgrading-drupal-with-git/#comment-759</guid>
		<description>santry,

I believe that for tutorial my approach of multiple clones is much more accessible.

First, it&#039;s easy to &quot;screw up&quot; the repository if you&#039;re doing heavy branches here.   My target audience is not Git experts, so they will have trouble if mental model is out of sync with the repository state.

Second, you will usually have several sites under this scheme, and it&#039;s easier to just rsync the directory without worrying which branch is currently checked out there. 

Third, I have to admit with a shame that I do not completely understand how branches work in Git -- I just didn&#039;t have the chance to use it in production.</description>
		<content:encoded><![CDATA[<p>santry,</p>
<p>I believe that for tutorial my approach of multiple clones is much more accessible.</p>
<p>First, it&#8217;s easy to &#8220;screw up&#8221; the repository if you&#8217;re doing heavy branches here.   My target audience is not Git experts, so they will have trouble if mental model is out of sync with the repository state.</p>
<p>Second, you will usually have several sites under this scheme, and it&#8217;s easier to just rsync the directory without worrying which branch is currently checked out there. </p>
<p>Third, I have to admit with a shame that I do not completely understand how branches work in Git &#8212; I just didn&#8217;t have the chance to use it in production.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
