<?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: Subverting WordPress</title>
	<atom:link href="http://meyerweb.com/eric/thoughts/2008/09/03/subverting-wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://meyerweb.com/eric/thoughts/2008/09/03/subverting-wordpress/</link>
	<description>Things that Eric A. Meyer, CSS expert, writes about on his personal Web site; it&#039;s largely Web standards and Web technology, but also various bits of culture, politics, personal observations, and other miscellaneous stuff</description>
	<lastBuildDate>Fri, 19 Mar 2010 00:27:46 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Keeping things in sync with Wordpress releases via SVN using vendor branches &#171; Tales from the Script</title>
		<link>http://meyerweb.com/eric/thoughts/2008/09/03/subverting-wordpress/#comment-437477</link>
		<dc:creator>Keeping things in sync with Wordpress releases via SVN using vendor branches &#171; Tales from the Script</dc:creator>
		<pubDate>Tue, 20 Jan 2009 13:46:43 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=931#comment-437477</guid>
		<description>[...] an option (except for plugins, of course). I&#8217;m certainly not the first to face this problem; Eric Meyer has (had?) similar [...]</description>
		<content:encoded><![CDATA[<p>[...] an option (except for plugins, of course). I&#8217;m certainly not the first to face this problem; Eric Meyer has (had?) similar [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: regis</title>
		<link>http://meyerweb.com/eric/thoughts/2008/09/03/subverting-wordpress/#comment-430044</link>
		<dc:creator>regis</dc:creator>
		<pubDate>Tue, 09 Dec 2008 20:37:33 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=931#comment-430044</guid>
		<description>This worked like butter for me - in the working dir run:
svn merge curversionurl newversionurl

so going from 2.6.3 to 2.6.5:

svn merge http://svn.automattic.com/wordpress/tags/2.6.3 http://svn.automattic.com/wordpress/tags/2.6.5</description>
		<content:encoded><![CDATA[<p>This worked like butter for me &#8211; in the working dir run:<br />
svn merge curversionurl newversionurl</p>
<p>so going from 2.6.3 to 2.6.5:</p>
<p>svn merge <a href="http://svn.automattic.com/wordpress/tags/2.6.3" rel="nofollow">http://svn.automattic.com/wordpress/tags/2.6.3</a> <a href="http://svn.automattic.com/wordpress/tags/2.6.5" rel="nofollow">http://svn.automattic.com/wordpress/tags/2.6.5</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon</title>
		<link>http://meyerweb.com/eric/thoughts/2008/09/03/subverting-wordpress/#comment-417458</link>
		<dc:creator>Simon</dc:creator>
		<pubDate>Sat, 25 Oct 2008 13:38:51 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=931#comment-417458</guid>
		<description>I support the idea for a hook that will allow easy disabling of WP&quot;s rewrite rules. I am going to send in my patches to trac.wordpress.org too. May be they can find possibility to make it part of the core code.</description>
		<content:encoded><![CDATA[<p>I support the idea for a hook that will allow easy disabling of WP&#8221;s rewrite rules. I am going to send in my patches to trac.wordpress.org too. May be they can find possibility to make it part of the core code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Ridley</title>
		<link>http://meyerweb.com/eric/thoughts/2008/09/03/subverting-wordpress/#comment-409694</link>
		<dc:creator>Michael Ridley</dc:creator>
		<pubDate>Thu, 18 Sep 2008 16:35:54 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=931#comment-409694</guid>
		<description>Eric-

I wrote a &lt;a href=&quot;http://www.commtd.com/blog/2008/09/12/a-general-strategy-for-customizing-open-source-applications/&quot; rel=&quot;nofollow&quot;&gt;post on this&lt;/a&gt; the other day for our company blog, but what I do is keep my Subversion copy of WordPress empty except for the things I&#039;ve changed - plugins, new themes, etc.  I apply the new WordPress release directly to the &quot;live&quot; copy, and I merge in any changes to the files in the working copy as new releases come out.  Since I am only modifying a tiny subset of the WordPress code, there&#039;s no benefit to me to having the entire WordPress code base in my Subversion working copy.

This approach works for me because I am mainly editing custom themes or plugins which are in no way affected by WordPress updates.  I do sometimes hack on the main code tree, but it&#039;s only one or two files so it doesn&#039;t inconvenience me to update that if the main line code changes.

By following this strategy I try to keep my custom client-specific WordPress code independent of the version of WordPress that&#039;s actually installed on the live web site.  It works pretty well.

Hope that was helpful!

-m</description>
		<content:encoded><![CDATA[<p>Eric-</p>
<p>I wrote a <a href="http://www.commtd.com/blog/2008/09/12/a-general-strategy-for-customizing-open-source-applications/" rel="nofollow">post on this</a> the other day for our company blog, but what I do is keep my Subversion copy of WordPress empty except for the things I&#8217;ve changed &#8211; plugins, new themes, etc.  I apply the new WordPress release directly to the &#8220;live&#8221; copy, and I merge in any changes to the files in the working copy as new releases come out.  Since I am only modifying a tiny subset of the WordPress code, there&#8217;s no benefit to me to having the entire WordPress code base in my Subversion working copy.</p>
<p>This approach works for me because I am mainly editing custom themes or plugins which are in no way affected by WordPress updates.  I do sometimes hack on the main code tree, but it&#8217;s only one or two files so it doesn&#8217;t inconvenience me to update that if the main line code changes.</p>
<p>By following this strategy I try to keep my custom client-specific WordPress code independent of the version of WordPress that&#8217;s actually installed on the live web site.  It works pretty well.</p>
<p>Hope that was helpful!</p>
<p>-m</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://meyerweb.com/eric/thoughts/2008/09/03/subverting-wordpress/#comment-408300</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Wed, 10 Sep 2008 22:09:54 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=931#comment-408300</guid>
		<description>Andrew Nesbitt said it first so: DITO on Git/Github.</description>
		<content:encoded><![CDATA[<p>Andrew Nesbitt said it first so: DITO on Git/Github.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Lowery</title>
		<link>http://meyerweb.com/eric/thoughts/2008/09/03/subverting-wordpress/#comment-406742</link>
		<dc:creator>Ben Lowery</dc:creator>
		<pubDate>Thu, 04 Sep 2008 19:32:10 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=931#comment-406742</guid>
		<description>I do what you&#039;re trying to do by using git and git-svn. git-svn mirrors the wordpress svn repo into my git repository and I have a branch that is effectively wordpress&#039; trunk + my changes. When wordpress updates, I pull the changes into git and merge them into my branch if I like them. 

The repo is at http://www.github.com/blowery/wordpress if you want to take a peek (http://github.com/blowery/wordpress/tree/ben%2Ftrunk is my branch of wordpress). I also use a git submodule to track the theme I use, but that&#039;s another story. Another nice thing about doing it this way: my plugins, uploaded content and other ephemera for my particular install are all captured in git. With plain svn, this is a bit harder.

As others have said, you can do this with svn vendor branches too. I just did it with git because I happen to like it better, and I find it easier to maintain my branch with it.</description>
		<content:encoded><![CDATA[<p>I do what you&#8217;re trying to do by using git and git-svn. git-svn mirrors the wordpress svn repo into my git repository and I have a branch that is effectively wordpress&#8217; trunk + my changes. When wordpress updates, I pull the changes into git and merge them into my branch if I like them. </p>
<p>The repo is at <a href="http://www.github.com/blowery/wordpress" rel="nofollow">http://www.github.com/blowery/wordpress</a> if you want to take a peek (<a href="http://github.com/blowery/wordpress/tree/ben%2Ftrunk" rel="nofollow">http://github.com/blowery/wordpress/tree/ben%2Ftrunk</a> is my branch of wordpress). I also use a git submodule to track the theme I use, but that&#8217;s another story. Another nice thing about doing it this way: my plugins, uploaded content and other ephemera for my particular install are all captured in git. With plain svn, this is a bit harder.</p>
<p>As others have said, you can do this with svn vendor branches too. I just did it with git because I happen to like it better, and I find it easier to maintain my branch with it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Meyer</title>
		<link>http://meyerweb.com/eric/thoughts/2008/09/03/subverting-wordpress/#comment-406644</link>
		<dc:creator>Eric Meyer</dc:creator>
		<pubDate>Thu, 04 Sep 2008 14:50:59 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=931#comment-406644</guid>
		<description>&lt;a href=&quot;http://meyerweb.com/eric/thoughts/2008/09/03/subverting-wordpress/?#comment-406554&quot; rel=&quot;nofollow&quot;&gt;Skipchris&lt;/a&gt;: interesting idea.  I was unaware of &lt;tt&gt;ignore&lt;/tt&gt;, and it would be at least similar to what I was already doing.  What I really want, though,  is a way to get changes to the files from the base repository while merging in my alterations.  Maybe what I want isn&#039;t possible, but I live in hope...</description>
		<content:encoded><![CDATA[<p><a href="http://meyerweb.com/eric/thoughts/2008/09/03/subverting-wordpress/?#comment-406554" rel="nofollow">Skipchris</a>: interesting idea.  I was unaware of <tt>ignore</tt>, and it would be at least similar to what I was already doing.  What I really want, though,  is a way to get changes to the files from the base repository while merging in my alterations.  Maybe what I want isn&#8217;t possible, but I live in hope&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Meyer</title>
		<link>http://meyerweb.com/eric/thoughts/2008/09/03/subverting-wordpress/#comment-406642</link>
		<dc:creator>Eric Meyer</dc:creator>
		<pubDate>Thu, 04 Sep 2008 14:48:01 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=931#comment-406642</guid>
		<description>&lt;a href=&quot;http://meyerweb.com/eric/thoughts/2008/09/03/subverting-wordpress/?#comment-406461&quot; rel=&quot;nofollow&quot;&gt;Steven&lt;/a&gt;: you might be right.  I&#039;m not sure, though, because I don&#039;t understand exactly what you mean.  I&#039;m a newb, remember?  Everything I know about subversion I learned from reading &quot;&lt;a href=&quot;http://codex.wordpress.org/Installing/Updating_WordPress_with_Subversion&quot; rel=&quot;nofollow&quot;&gt;Installing/Updating WordPress with Subversion&lt;/a&gt;&quot;.</description>
		<content:encoded><![CDATA[<p><a href="http://meyerweb.com/eric/thoughts/2008/09/03/subverting-wordpress/?#comment-406461" rel="nofollow">Steven</a>: you might be right.  I&#8217;m not sure, though, because I don&#8217;t understand exactly what you mean.  I&#8217;m a newb, remember?  Everything I know about subversion I learned from reading &#8220;<a href="http://codex.wordpress.org/Installing/Updating_WordPress_with_Subversion" rel="nofollow">Installing/Updating WordPress with Subversion</a>&#8220;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Meyer</title>
		<link>http://meyerweb.com/eric/thoughts/2008/09/03/subverting-wordpress/#comment-406641</link>
		<dc:creator>Eric Meyer</dc:creator>
		<pubDate>Thu, 04 Sep 2008 14:46:01 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=931#comment-406641</guid>
		<description>&lt;a href=&quot;http://meyerweb.com/eric/thoughts/2008/09/03/subverting-wordpress/#comment-406421&quot; rel=&quot;nofollow&quot;&gt;Noel&lt;/a&gt;: I might &lt;em&gt;want&lt;/em&gt; to, yes; but can&#039;t, unless there&#039;s a hook that will comment out lines 39-144 (as of 2.6.1) of &lt;tt&gt;classes.php&lt;/tt&gt;.  Furthermore, I think merging that change into the WP core would be a Very Bad Idea.

Ditto &lt;tt&gt;edit-form-advanced.php&lt;/tt&gt;, in which I rearranged some of the markup to be more to my liking.  I don&#039;t think a plugin will be able do that for me, and having those changes in core isn&#039;t a great idea either.

I have asked in the past for a hook that will allow easy disabling of WP&#039;s rewrite rules---I have my own, and don&#039;t want WP fighting me over them---but so far as I know it still doesn&#039;t exist.  If it&#039;s ever added, I&#039;ll gladly stop modifying &lt;tt&gt;classes.php&lt;/tt&gt; and write a plugin to do what I need.  Until then, though, I&#039;m stuck with this situation, which is a serious drag on my enthusiasm for upgrades.</description>
		<content:encoded><![CDATA[<p><a href="http://meyerweb.com/eric/thoughts/2008/09/03/subverting-wordpress/#comment-406421" rel="nofollow">Noel</a>: I might <em>want</em> to, yes; but can&#8217;t, unless there&#8217;s a hook that will comment out lines 39-144 (as of 2.6.1) of <tt>classes.php</tt>.  Furthermore, I think merging that change into the WP core would be a Very Bad Idea.</p>
<p>Ditto <tt>edit-form-advanced.php</tt>, in which I rearranged some of the markup to be more to my liking.  I don&#8217;t think a plugin will be able do that for me, and having those changes in core isn&#8217;t a great idea either.</p>
<p>I have asked in the past for a hook that will allow easy disabling of WP&#8217;s rewrite rules&#8212;I have my own, and don&#8217;t want WP fighting me over them&#8212;but so far as I know it still doesn&#8217;t exist.  If it&#8217;s ever added, I&#8217;ll gladly stop modifying <tt>classes.php</tt> and write a plugin to do what I need.  Until then, though, I&#8217;m stuck with this situation, which is a serious drag on my enthusiasm for upgrades.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian Simmons</title>
		<link>http://meyerweb.com/eric/thoughts/2008/09/03/subverting-wordpress/#comment-406578</link>
		<dc:creator>Adrian Simmons</dc:creator>
		<pubDate>Thu, 04 Sep 2008 10:17:11 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=931#comment-406578</guid>
		<description>As Peter J says, you need a vendor branch and your modified &#039;local branch&#039;, and to merge changes between them when updating.

You might also want to check out &lt;a href=&quot;http://svk.bestpractical.com/view/HomePage&quot; rel=&quot;nofollow&quot;&gt;SVK&lt;/a&gt;, it works with SVN but has much better merge - the same principle applies though, use a vendor branch!</description>
		<content:encoded><![CDATA[<p>As Peter J says, you need a vendor branch and your modified &#8216;local branch&#8217;, and to merge changes between them when updating.</p>
<p>You might also want to check out <a href="http://svk.bestpractical.com/view/HomePage" rel="nofollow">SVK</a>, it works with SVN but has much better merge &#8211; the same principle applies though, use a vendor branch!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Nesbitt</title>
		<link>http://meyerweb.com/eric/thoughts/2008/09/03/subverting-wordpress/#comment-406567</link>
		<dc:creator>Andrew Nesbitt</dc:creator>
		<pubDate>Thu, 04 Sep 2008 09:51:30 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=931#comment-406567</guid>
		<description>Here are two suggestions from a ruby on rails developer perspective:

1. &lt;a href=&#039;http://github.com&#039; rel=&quot;nofollow&quot;&gt;Github&lt;/a&gt; is the new hottness in hosted version control, there are a number of daily updated &lt;a href=&#039;http://github.com/swalker/wordpress/tree/master&#039; rel=&quot;nofollow&quot;&gt;mirrors&lt;/a&gt; of the wordpress subversion repo there, you could fork wordpress on there, add your changes to the files you need and still keep up with the master branch of wordpress.

2. Using a tool like &lt;a href=&#039;http://www.capify.org/&#039; rel=&quot;nofollow&quot;&gt;capistrano&lt;/a&gt;, you could automate the checkout and deployment of wordpress from subversion and setup a simple after deploy task that symlinks in your custom files and assets into the wordpress folder after it has been checked out.</description>
		<content:encoded><![CDATA[<p>Here are two suggestions from a ruby on rails developer perspective:</p>
<p>1. <a href='http://github.com' rel="nofollow">Github</a> is the new hottness in hosted version control, there are a number of daily updated <a href='http://github.com/swalker/wordpress/tree/master' rel="nofollow">mirrors</a> of the wordpress subversion repo there, you could fork wordpress on there, add your changes to the files you need and still keep up with the master branch of wordpress.</p>
<p>2. Using a tool like <a href='http://www.capify.org/' rel="nofollow">capistrano</a>, you could automate the checkout and deployment of wordpress from subversion and setup a simple after deploy task that symlinks in your custom files and assets into the wordpress folder after it has been checked out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Skipchris</title>
		<link>http://meyerweb.com/eric/thoughts/2008/09/03/subverting-wordpress/#comment-406554</link>
		<dc:creator>Skipchris</dc:creator>
		<pubDate>Thu, 04 Sep 2008 09:05:59 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=931#comment-406554</guid>
		<description>I might be being a bit newb-ish here, but would svn:ignore solve the problem?

&lt;code&gt;
svn propedit svn:ignore wp-blog-header.php, 
svn propedit svn:ignore wp-includes/classes.php, 
svn propedit svn:ignore wp-admin/edit-form-advanced.php
&lt;/code&gt;

Maybe?</description>
		<content:encoded><![CDATA[<p>I might be being a bit newb-ish here, but would svn:ignore solve the problem?</p>
<p><code><br />
svn propedit svn:ignore wp-blog-header.php,<br />
svn propedit svn:ignore wp-includes/classes.php,<br />
svn propedit svn:ignore wp-admin/edit-form-advanced.php<br />
</code></p>
<p>Maybe?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://meyerweb.com/eric/thoughts/2008/09/03/subverting-wordpress/#comment-406521</link>
		<dc:creator>David</dc:creator>
		<pubDate>Thu, 04 Sep 2008 08:03:02 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=931#comment-406521</guid>
		<description>Obviously you need SVN with a half gainer. That&#039;s the trick.</description>
		<content:encoded><![CDATA[<p>Obviously you need SVN with a half gainer. That&#8217;s the trick.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steven Ametjan</title>
		<link>http://meyerweb.com/eric/thoughts/2008/09/03/subverting-wordpress/#comment-406461</link>
		<dc:creator>Steven Ametjan</dc:creator>
		<pubDate>Thu, 04 Sep 2008 05:45:38 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=931#comment-406461</guid>
		<description>Maybe I&#039;m under-thinking this, but could you not just merge the tag into your working copy?</description>
		<content:encoded><![CDATA[<p>Maybe I&#8217;m under-thinking this, but could you not just merge the tag into your working copy?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jilles van Gurp</title>
		<link>http://meyerweb.com/eric/thoughts/2008/09/03/subverting-wordpress/#comment-406452</link>
		<dc:creator>Jilles van Gurp</dc:creator>
		<pubDate>Thu, 04 Sep 2008 05:21:07 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/?p=931#comment-406452</guid>
		<description>I&#039;ve used the vendor branch pattern for a while and it&#039;s a bit messy. I ended up with a non working setup several times only to find out that the merge somehow resulted in a setup that was quite different from what is actually in the wordpress svn. I&#039;ve given up on the notion of maintaining my handful of modifications for now.

A possible way out would be to use a more capable distributed versioning system like mercurial or GIT that is able to pull changes from upstream into a local branch and has more robust merging.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve used the vendor branch pattern for a while and it&#8217;s a bit messy. I ended up with a non working setup several times only to find out that the merge somehow resulted in a setup that was quite different from what is actually in the wordpress svn. I&#8217;ve given up on the notion of maintaining my handful of modifications for now.</p>
<p>A possible way out would be to use a more capable distributed versioning system like mercurial or GIT that is able to pull changes from upstream into a local branch and has more robust merging.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head profile="http://gmpg.org/xfn/1">
<title>meyerweb.com</title>
<link rel="openid.server" href="http://www.myopenid.com/server">
<link rel="openid.delegate" href="http://emeyer.myopenid.com/">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link rel="shortcut icon" href="/favicon.ico"><link rel="home" href="http://meyerweb.com/" title="Home" ><link rel="stylesheet" href="http://meyerweb.com/ui/meyerweb.css" type="text/css" media="screen, projection"><link rel="stylesheet" href="http://meyerweb.com/ui/theme.css" type="text/css" media="screen, projection" id="themeLink"><link rel="stylesheet" href="http://meyerweb.com/ui/print.css" type="text/css" media="print"><script src="http://meyerweb.com/ui/addresses.js" type="text/javascript"></script><link rel="stylesheet" href="/ui/wordpress.css" type="text/css" media="screen">
<link rel="stylesheet" href="/ui/tfe.css" type="text/css" media="screen">
<link rel="stylesheet" href="/ui/home.css" type="text/css" media="screen">
<link rel="alternate" type="application/rss+xml" title="Thoughts From Eric" href="/eric/thoughts/rss2/full" />
<link rel="alternate" type="application/rss+xml" title="Thoughts From Eric (only technical posts)" href="/eric/thoughts/category/tech/rss2/full" />
<link rel="alternate" type="application/rss+xml" title="Thoughts From Eric (only personal posts)" href="/eric/thoughts/category/personal/rss2/full" />
<link rel="alternate" type="application/rss+xml" title="Distractions" href="/eric/thoughts/recent-links/rss2" />
<link rel="alternate" type="application/rss+xml" title="Excuse of the Day" href="/feeds/excuse/rss20.xml" />
</head>
<body id="www-meyerweb-com" class="hpg">

<div id="sitemast"><h1><a href="/"><span>meyerweb</span>.com</a></h1></div><div id="search"><h4>Exploration</h4><!-- SiteSearch Google --><form method="get" action="http://www.google.com/custom" target="_top"><div><input type="hidden" name="domains" value="meyerweb.com"></input><label for="sbb" style="display: none">Submit search form</label><input type="submit" name="sa" value="Google Search" id="sbb"></input><label for="sbi" style="display: none">Enter your search terms</label><input type="text" name="q" size="31" maxlength="255" value="" id="sbi"></input><p><input type="radio" name="sitesearch" value="meyerweb.com" checked id="ss1"></input><label for="ss1" title="Search meyerweb.com">meyerweb.com</label><input type="radio" name="sitesearch" value="" id="ss0"></input><label for="ss0" title="Search the Web">Web</label></p><input type="hidden" name="client" value="pub-3772084027748653"></input><input type="hidden" name="forid" value="1"></input><input type="hidden" name="ie" value="ISO-8859-1"></input><input type="hidden" name="oe" value="ISO-8859-1"></input><input type="hidden" name="safe" value="active"></input><input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1"></input><input type="hidden" name="hl" value="en"></input></div></form><!-- SiteSearch Google --><!-- <form method="get" action="http://www.google.com/custom"><div><input type="submit" name="sa" value="Search"><input type="text" name="q" size="20" maxlength="255" value=""><input type="hidden" name="sitesearch" value="meyerweb.com"></div></form><small><a href="http://www.google.com/search">Powered by Google</a></small> --></div><div id="main"><div class="skipper">Skip to: <a href="#extra">site navigation/presentation</a></div><div class="skipper">Skip to: <a href="#thoughts">Thoughts From Eric</a></div>
<div id="thoughts">


<div class="entry">
<h3><a href="http://meyerweb.com/eric/thoughts/2008/09/03/subverting-wordpress/" rel="bookmark" title="Permanent Link: Subverting WordPress">Subverting WordPress</a></h3>
<ul class="meta">
<li class="date">Wed 3 Sep 2008</li>
<li class="time">2048</li>
<li class="cat"><a href="http://meyerweb.com/eric/thoughts/category/tech/wordpress/" title="View all posts in WordPress" rel="category tag">WordPress</a></li>
<li class="cmt"><a href="http://meyerweb.com/eric/thoughts/2008/09/03/subverting-wordpress/#comments">21 responses</a></li>
<li></li><li></li></ul>

<div class="text">
<p>
I&#8217;m going to get back to posting here in just a bit with word of conference appearances (some overseas), plugin updates, and a small elegy, but first I need a little help with WordPress and subversion, if someone could spare the cycles to assist a newb.  (Which would be me.)
</p>
<p>
So I have meyerweb&#8217;s WordPress install all subversion-managed.  The only problem is that there are three core files I&#8217;ve had to hack (reasons upon request) and that makes updating really icky.  I fire off&#8230;
</p>
<pre>
svn sw http://svn.automattic.com/wordpress/tags/2.6.1/ .
</pre>
<p>
&#8230;(where <tt>2.6.1</tt> is replaced with whatever the latest version is) and it updates everything.  For my custom-altered files, though, I get diff files and a <tt>.mine</tt> file that has my old copy and then a copy that&#8217;s littered with diff markers, which cause PHP error-crashes, which takes down the site.  At least until I go in and copy the <tt>.mine</tt> files over the diffed-up files.
</p>
<p>
So: how do I do some kind of local checkin of the altered files so that I don&#8217;t attempt to post them back to the WordPress codebase (these are very specialized hacks) but future WordPress updates don&#8217;t break my site?  For extra ideal points, it would be great if those files were updated with my changes merged into the files.  If it helps, the files thus affected are <tt>/wp-blog-header.php</tt>, <tt>/wp-includes/classes.php</tt>, and <tt>/wp-admin/edit-form-advanced.php</tt>.  Thanks for any help!
</p>
</div>

</div>

</div>
<p style="font-size: 90%; text-align: right; margin-top: 0.5em; padding-top: 0;">(If you care, there's even an <a href="/eric/thoughts/page/2/">archive of previous thoughts</a>...)</p>

</div><div id="extra"><div class="panel" id="archipelago"><h4>Identity Archipelago</h4><ul><li><a href="http://flickr.com/photos/meyerweb/" rel="me">Flickr</a></li><li><a href="http://twitter.com/meyerweb/" rel="me">Twitter</a></li><li><a href="http://dopplr.com/traveller/meyerweb">Dopplr</a></li><li><a href="http://www.linkedin.com/in/meyerweb" rel="me">LinkedIn</a></li><li><a href="http://technorati.com/profile/emeyer" rel="me">Technorati</a></li></ul></div><div class="panel" id="pointers"><h4>Projects Elsewhere</h4><ul><li><a href="http://aneventapart.com/">An Event Apart</a></li><li><a href="http://complexspiral.com/">Complex Spiral Consulting</a></li><li><a href="http://www.webassist.com/go/css/emeyer/">CSS Sculptor</a></li><li><a href="http://css-discuss.org/">css-discuss</a></li><li><a href="http://microformats.org/">Microformats</a></li><li><a href="http://s5project.org/">S5</a></li></ul></div><div class="panel" id="tour"><ul><li><a href="http://fray.com/issue3/"><img src="http://fray.com/images/i3c.gif" alt="Fray Contributor (Issue 3: Sex &amp; Death)" /></a></li><!-- <li><a href="http://www.webassist.com/go/css/emeyer/"><img src="/pix/CS_ad_180x109.jpg" alt="CSS Sculptor for Dreamweaver" style="max-width: 100%;" /></a></li> --></ul></div><div class="panel">
<h4>Recently Tweeted</h4>
<p class="more"><a href="http://twitter.com/meyerweb">see more</a></p>
<p>Coffee shop hacking—using a stir-stick to spread cream cheese on my bagel. <small>&#8211;tweeted 12 hours, 36 minutes ago</small></p>
</div><div id="sideblog" class="panel">
<h4>Distractions</h4>
<p class="more">
<a href="/eric/thoughts/recent-links/">archive</a>
</p>
<ul>
<li><a href="http://tweetagewasteland.com/2010/03/my-head-is-in-the-cloud/" title="March 18 | &#8220;I sense that my addiction to the realtime stream is only making room for the consumption of a faster stream.&#8221;">My Head is in the Cloud</a> <small>[via <a href="http://daringfireball.net/">John</a>]</small></li>
<li><a href="http://8bitnyc.com/" title="March 17 | All of a sudden I want to establish a mission in Central Park and negotiate with the natives for gold and food.">8-Bit NYC</a></li>
<li><a href="http://www.youtube.com/watch?v=nFicqklGuB0&amp;feature=player_embedded" title="March 12 | Wry comment expressing my appreciation of the creative derivativeness of this video and its uncanny accuracy in mocking common tropes.">Academy Award Winning Movie Trailer</a></li>
<li><a href="http://www.youtube.com/watch?v=414TmP12WAU" title="March 9 | &#8220;Apple juice&#8230; for half price!&#8221;  More like twice PRICELESS.  (Note: If you&#8217;re at work, don your headphones.)">Happy in Paraguay</a> <small>[via <a href="http://unstoppablerobotninja.com/">Ethan</a>]</small></li>
<li><a href="http://www.youtube.com/watch?v=9V5ubAOeOBk&amp;feature=player_embedded" title="February 10 | This is approximately the best thing ever.">U900 -Walk Don&#8217;t Run (Isogabamaware)</a></li>
<li><a href="http://www.456bereastreet.com/archive/201002/sifr_default_css_hides_content_from_at_least_one_screen_reader/?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A 456bereastreet %28456 Berea Street%29" title="February 8 | -9999px comes through again, but I really wish we were beyond that kind of thing.">sIFR default CSS hides content from at least one screen reader</a></li>
<li><a href="http://www.macosxhints.com/article.php?story=20100117064356428" title="February 8 | Storing this for future use.">Take a picture with the iSight camera when a folder is opened</a></li>
<li><a href="http://mingle2.com/blog/view/web-developer-mind" title="February 4 | Mostly valid.  (SEE WHAT I DID THERE?)">The Mind of a Web Developer: An Illustrated Diagram</a></li>
<li><a href="http://www.theonion.com/content/news/science_channel_refuses_to_dumb" title="January 28 | &#8220;Punkin Chunkin, for Christ&#8217;s sake&#8230; What more do you people want?&#8221;">Science Channel Refuses To Dumb Down Science Any Further</a></li>
<li><a href="http://www.mailchimp.com/blog/project-omnivore-declassified/" title="January 27 | Sounds like quite a feat.  But I wonder how we&#8217;d feel if Microsoft or Google announced the same kind of thing on their e-mail services.">MailChimp&#8217;s Project Omnivore: Declassified</a></li>
<li><a href="http://www.politifact.com/truth-o-meter/statements/2010/jan/25/carolyn-maloney/congresswoman-says-democratic-presidents-create-mo/" title="January 26 | &#8220;Obviously, luck matters a lot, but when there is a consistent pattern over more than 60 years, it starts to look like more than just luck.&#8221;">Congresswoman says Democratic presidents create more private-sector jobs</a></li>
<li><a href="http://www.ted.com/talks/taylor_mali_what_teachers_make.html" title="January 25 | Truth.">Taylor Mali: What teachers make</a></li>
<li><a href="http://notebook.johnmartz.com/how-websites-work?c=1" title="January 22 | At last, the truth is out and I can stop pretending:  beatific monkeys are what makes it all go.">How websites work</a></li>
</ul>
</div>
<div class="panel" id="advisory">
<div class="guarded">
<a href="http://blogadvisorysystem.com/"><img src="/pix/bas/guarded.png" alt="Blog Advisory System Alert Level: Guarded"></a>
</div>
</div>

<div class="panel" id="excuse">
<h4>The <a href="/feeds/excuse/">excuse of the day</a> is</h4>
<p>neutrino interactions</p>
</div>

<div class="panel" id="extras">
<h4>Extras</h4>
<ul>
<li><a href="/feeds/">Feeds</a> &#8226;</li>
<li><a href="/eric/faq.html">FAQ</a> &#8226;</li>
<li><a href="/family.html">Family</a></li>
</ul>
</div>

</div>

<div id="navigate">
<h4>Navigation</h4>
<ul id="navlinks">
<li id="archLink"><a href="/eric/thoughts/">Archives</a></li>
<li id="cssLink"><a href="/eric/css/">CSS</a></li>
<li id="toolsLink"><a href="/eric/tools/">Toolbox</a></li>
<li id="writeLink"><a href="/eric/writing.html">Writing</a></li>
<li id="speakLink"><a href="/eric/talks/">Speaking</a></li>
<li id="otherLink"><a href="/other/">Leftovers</a></li>
<li id="aboutsite"><a href="/ui/about.html">About this site</a></li>
</ul>
</div>

<div id="footer">
<p class="sosumi">All contents of this site, unless otherwise noted, are &copy;1995-2008 <strong>Eric A. and Kathryn S. Meyer</strong>.  All Rights Reserved.</p>
<p>"<a href="/eric/thoughts/">Thoughts From Eric</a>" is powered by the &uuml;bercool <a href="http://wordpress.org/">WordPress</a></p>
</div>
</body>
</html>
