<?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>Jeffrey McManus &#187; Subversion</title> <atom:link href="http://blog.jeffreymcmanus.com/category/subversion/feed/" rel="self" type="application/rss+xml" /><link>http://blog.jeffreymcmanus.com</link> <description>The New Thing</description> <lastBuildDate>Mon, 06 Feb 2012 21:24:15 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.9.2</generator> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>Subversion on Mac OS X</title><link>http://blog.jeffreymcmanus.com/156/subversion-on-mac-os-x/</link> <comments>http://blog.jeffreymcmanus.com/156/subversion-on-mac-os-x/#comments</comments> <pubDate>Tue, 12 Oct 2004 10:30:17 +0000</pubDate> <dc:creator>jeffrey</dc:creator> <category><![CDATA[Apple]]></category> <category><![CDATA[Subversion]]></category> <category><![CDATA[Web/Tech]]></category><guid
isPermaLink="false">http://blog.jeffreymcmanus.com/?p=156</guid> <description><![CDATA[Who&#8217;s successfully running a Subversion client on Mac OS X? I ask because I&#8217;m trying to access my repository from my new Powerbook and I&#8217;m not having much success. There are messages in Subversion&#8217;s mailing list archives and on Google about how an incompatible locale setting makes the Mac OS X Terminal application throw [...]<p><a
href="http://blog.jeffreymcmanus.com/156/subversion-on-mac-os-x/">Subversion on Mac OS X</a> is a post by <a
href="http://blog.jeffreymcmanus.com">Jeffrey McManus</a> of <a
href='http://platformassociates.com'>Platform Associates</a>. <a
href='http://twitter.com/jeffreymcmanus/'>Follow Jeffrey on Twitter</a>.</p>Related posts:<ol><li><a
href='http://blog.jeffreymcmanus.com/67/a-rank-amateur-upgrades-his-subversion-repository/' rel='bookmark' title='Permanent Link: A Rank Amateur Upgrades His Subversion Repository'>A Rank Amateur Upgrades His Subversion Repository</a></li><li><a
href='http://blog.jeffreymcmanus.com/41/all-about-subversion/' rel='bookmark' title='Permanent Link: All About Subversion'>All About Subversion</a></li><li><a
href='http://blog.jeffreymcmanus.com/712/dear-lastfm/' rel='bookmark' title='Permanent Link: Dear Last.fm,'>Dear Last.fm,</a></li></ol>]]></description> <content:encoded><![CDATA[<div
class="related" style="font-size: 0.85em;"><table><tbody><tr><td> <iframe
scrolling="no" frameborder="0" marginheight="0" marginwidth="0" src="http://rcm.amazon.com/e/cm?t=howtoprogramvisu&amp;o=1&amp;p=8&amp;l=as1&amp;asins=1590597532&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="width: 120px; height: 240px;"> </iframe></td><td></td><td
valign="top"><p>Who&#8217;s successfully running a Subversion client on Mac OS X? I ask because I&#8217;m trying to access my repository from my new Powerbook and I&#8217;m not having much success. There are messages in Subversion&#8217;s <a
href="http://subversion.tigris.org/servlets/ProjectMailingListList">mailing list archives</a> and <a
href="http://www.google.com/search?hl=en&amp;lr=&amp;client=firefox-a&amp;q=subversion+can%27t+recode+string&amp;btnG=Search">on Google</a> about how an incompatible locale setting makes the Mac OS X Terminal application throw up when it gets international characters in file names (Subversion returns the unhelpful error message &#8216;Can&#8217;t recode string&#8217;) but I can&#8217;t see the actual solution to the problem anywhere.</p><p>More to the point, why doesn&#8217;t it just work out of the box and how can there possibly be an incompatible locale setting when the Terminal app is supposedly using UTF-8?</p></td></tr></tbody></table></div><p><a
href="http://blog.jeffreymcmanus.com/156/subversion-on-mac-os-x/">Subversion on Mac OS X</a> is a post by <a
href="http://blog.jeffreymcmanus.com">Jeffrey McManus</a> of <a
href='http://platformassociates.com'>Platform Associates</a>. <a
href='http://twitter.com/jeffreymcmanus/'>Follow Jeffrey on Twitter</a>.</p><p>Related posts:<ol><li><a
href='http://blog.jeffreymcmanus.com/67/a-rank-amateur-upgrades-his-subversion-repository/' rel='bookmark' title='Permanent Link: A Rank Amateur Upgrades His Subversion Repository'>A Rank Amateur Upgrades His Subversion Repository</a></li><li><a
href='http://blog.jeffreymcmanus.com/41/all-about-subversion/' rel='bookmark' title='Permanent Link: All About Subversion'>All About Subversion</a></li><li><a
href='http://blog.jeffreymcmanus.com/712/dear-lastfm/' rel='bookmark' title='Permanent Link: Dear Last.fm,'>Dear Last.fm,</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://blog.jeffreymcmanus.com/156/subversion-on-mac-os-x/feed/</wfw:commentRss> <slash:comments>6</slash:comments> </item> <item><title>A Rank Amateur Upgrades His Subversion Repository</title><link>http://blog.jeffreymcmanus.com/67/a-rank-amateur-upgrades-his-subversion-repository/</link> <comments>http://blog.jeffreymcmanus.com/67/a-rank-amateur-upgrades-his-subversion-repository/#comments</comments> <pubDate>Wed, 31 Dec 2003 14:24:49 +0000</pubDate> <dc:creator>jeffrey</dc:creator> <category><![CDATA[Subversion]]></category> <category><![CDATA[Web/Tech]]></category><guid
isPermaLink="false">http://blog.jeffreymcmanus.com/?p=67</guid> <description><![CDATA[As I mentioned previously, I&#8217;m using Subversion to store stuff I&#8217;m working on &#8212; articles, code examples, personal projects, etc. It&#8217;s a handy way to get a replica of all my work on all the computers I use, both at home and at work, without having to worry about whether the latest version of a [...]<p><a
href="http://blog.jeffreymcmanus.com/67/a-rank-amateur-upgrades-his-subversion-repository/">A Rank Amateur Upgrades His Subversion Repository</a> is a post by <a
href="http://blog.jeffreymcmanus.com">Jeffrey McManus</a> of <a
href='http://platformassociates.com'>Platform Associates</a>. <a
href='http://twitter.com/jeffreymcmanus/'>Follow Jeffrey on Twitter</a>.</p>Related posts:<ol><li><a
href='http://blog.jeffreymcmanus.com/41/all-about-subversion/' rel='bookmark' title='Permanent Link: All About Subversion'>All About Subversion</a></li><li><a
href='http://blog.jeffreymcmanus.com/156/subversion-on-mac-os-x/' rel='bookmark' title='Permanent Link: Subversion on Mac OS X'>Subversion on Mac OS X</a></li><li><a
href='http://blog.jeffreymcmanus.com/687/unintended-consequences-of-software-upgrades/' rel='bookmark' title='Permanent Link: Unintended Consequences of Software Upgrades'>Unintended Consequences of Software Upgrades</a></li></ol>]]></description> <content:encoded><![CDATA[<p>As I mentioned previously, I&#8217;m using <a
href="http://subversion.tigris.org/">Subversion</a> to store stuff I&#8217;m working on &#8212; articles, code examples, personal projects, etc. It&#8217;s a handy way to get a replica of all my work on all the computers I use, both at home and at work, without having to worry about whether the latest version of a given file is on this computer or that computer. And because it&#8217;s a version control system I don&#8217;t have to worry about screwing up a version of a document or program (if I make a huge mistake, I can just revert to an earlier version).</p><p>I&#8217;m an OK programmer, but I was born without that part of the brain that lets me do system administration tasks confidently. For people who don&#8217;t have hands-on experience with either programming or administration, or both, this probably sounds nutty: &quot;C&#8217;mon, you&#8217;re a big computer guy, you can make them bow to your will, what is it about server administration that makes you soil yourself and cower in the corner like a little girl?&quot; I&#8217;m not sure. I suspect it&#8217;s because the support and documentation characteristics for administrative tasks and programming tasks tend to be very different. I tend to learn by example, and most books on system administration bombard you with 100 pages of background information before they show you the first example of what you really want to do. I realize that there may be a good reason for this, but it doesn&#8217;t keep me from falling asleep by the time I get to page 4 of the manual.</p><p>Anyway. I&#8217;m trying to keep up with the latest build of Subversion as it approaches its 1.0 release. (<strong>Update</strong>: Subversion has shipped version 1.0 since this was originally written; I&#8217;ve updated this to reflect a minor change in the original upgrade procedure.)</p><p>When Subversion was in development, every so often they would need change the database schema. When that happens, you have to perform a dump of my repository, install the new version, and import the dump files. Not a huge deal to a system administrator with an iron constitution, but to me: yikes. So when I upgraded from version 0.35 of Subversion, I very carefully wrote everything I did down. I share my notes for your benefit, if you should happen to find yourself in the same situation I was in. (Nota bene, I&#8217;m running Subversion on Windows 2000 Server, so that&#8217;s what these instructions will apply to.) My upgrade went flawlessly, by the way, despite my angst, and <a
href="http://svnbook.red-bean.com/html-chunk/ch05s03.html#svn-ch-5-sect-3.4">the Subversion documentation on repository migration</a> is quite excellent, actually.</p><p><u><strong>Upgrading A Subversion Repository</strong></u><br
/> 1) Per http://svn.collab.net/repos/svn/trunk/CHANGES, first&nbsp; use&nbsp; &#8217;svnadmin dump&#8217;&nbsp; with&nbsp; your existing version of Subversion.</p><pre>&nbsp; &nbsp; svnadmin dump D:\svn\test &gt; D:\Program Files\Subversion\dumpfiles\test.dump</pre><p> (Do this for any other repositories you have as well.)</p><p>2) Upgrade your Subversion binaries to the latest version:</p><p>&nbsp; a) Stop Apache service (net stop apache2)<br
/> &nbsp; b) Launch the installer (svn-1.0.0-setup.exe) or, if you use the non-installer zip distribution, copy the files manually to wherever your Subversion binaries live (on my machine, it&#8217;s &quot;\Program Files\Subversion&quot;)<br
/> &nbsp; c) Move contents of \Subversion\apache2\modules to \Apache2\modules (<strong>Update</strong>: In the 1.0 Subversion distribution, these files are now stored in \httpd)<br
/> &nbsp; d) Rename repository root (d:\svn) to something else (like d:\_svn)<br
/> &nbsp; e) Start Apache service (net stop apache2)<br
/> &nbsp; <br
/> Question: Installer says &quot;Replace any libdb40.dll with this package&#8217;s libdb42.dll&quot;. Not sure what to do here; I&#8217;ve got a libdb40.dll in d:\program files\subversion, but there&#8217;s a libdb42.dll in d:\program files\Subversion\bin. Am I supposed to blow away the libdb40.dll in the Subversion directory? It seems to be working OK now, so I&#8217;m going to assume the answer is actually &quot;no&quot;.</p><p>3) Re-create your repositories using svnadmin create.</p><pre>	mkdir d:\svn	svnadmin create D:\svn\test</pre><p> (Do this for other repositories you have as well.)</p><p>4) Use&nbsp; &#8217;svnadmin load&#8217;&nbsp; to&nbsp; create&nbsp; a&nbsp; new&nbsp; repository&nbsp; from your dumpfile.&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;</p><pre>	svnadmin load D:\svn\test &lt; &quot;D:\Program Files\Subversion\dumpfiles\test.dump&quot;</pre><p> (Do this for any other repositories you may have as well.)</p><p>5) The Subversion installer says &quot;Don&#8217;t forget to copy any custom configuration/hooks from the old to the new repository.&quot; I don&#8217;t have any of these filthy beasts so I&#8217;m done.</p><div
class="related" style="font-size: 0.85em;"><table><tr><td> <iframe
src="http://rcm.amazon.com/e/cm?t=howtoprogramvisu&#038;o=1&#038;p=8&#038;l=as1&#038;asins=1590597532&#038;fc1=000000&#038;IS2=1&#038;lt1=_blank&#038;lc1=0000FF&#038;bc1=000000&#038;bg1=FFFFFF&#038;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></td><td></td><td
valign="top"></td></tr></table></div><p><a
href="http://blog.jeffreymcmanus.com/67/a-rank-amateur-upgrades-his-subversion-repository/">A Rank Amateur Upgrades His Subversion Repository</a> is a post by <a
href="http://blog.jeffreymcmanus.com">Jeffrey McManus</a> of <a
href='http://platformassociates.com'>Platform Associates</a>. <a
href='http://twitter.com/jeffreymcmanus/'>Follow Jeffrey on Twitter</a>.</p><p>Related posts:<ol><li><a
href='http://blog.jeffreymcmanus.com/41/all-about-subversion/' rel='bookmark' title='Permanent Link: All About Subversion'>All About Subversion</a></li><li><a
href='http://blog.jeffreymcmanus.com/156/subversion-on-mac-os-x/' rel='bookmark' title='Permanent Link: Subversion on Mac OS X'>Subversion on Mac OS X</a></li><li><a
href='http://blog.jeffreymcmanus.com/687/unintended-consequences-of-software-upgrades/' rel='bookmark' title='Permanent Link: Unintended Consequences of Software Upgrades'>Unintended Consequences of Software Upgrades</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://blog.jeffreymcmanus.com/67/a-rank-amateur-upgrades-his-subversion-repository/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>All About Subversion</title><link>http://blog.jeffreymcmanus.com/41/all-about-subversion/</link> <comments>http://blog.jeffreymcmanus.com/41/all-about-subversion/#comments</comments> <pubDate>Sun, 19 Oct 2003 22:41:08 +0000</pubDate> <dc:creator>jeffrey</dc:creator> <category><![CDATA[Collaboration, Content, Community]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Subversion]]></category><guid
isPermaLink="false">http://blog.jeffreymcmanus.com/?p=41</guid> <description><![CDATA[Here&#8217;s a really brief layman&#8217;s description of the Subversion version control system along with some links to resources about it. Since this most excellent tool is approaching its 1.0 release, you might want to check it out, if you&#8217;re into that kind of thing. I&#8217;m not as well-versed with Subversion as I&#8217;d like to be, [...]<p><a
href="http://blog.jeffreymcmanus.com/41/all-about-subversion/">All About Subversion</a> is a post by <a
href="http://blog.jeffreymcmanus.com">Jeffrey McManus</a> of <a
href='http://platformassociates.com'>Platform Associates</a>. <a
href='http://twitter.com/jeffreymcmanus/'>Follow Jeffrey on Twitter</a>.</p>Related posts:<ol><li><a
href='http://blog.jeffreymcmanus.com/67/a-rank-amateur-upgrades-his-subversion-repository/' rel='bookmark' title='Permanent Link: A Rank Amateur Upgrades His Subversion Repository'>A Rank Amateur Upgrades His Subversion Repository</a></li><li><a
href='http://blog.jeffreymcmanus.com/156/subversion-on-mac-os-x/' rel='bookmark' title='Permanent Link: Subversion on Mac OS X'>Subversion on Mac OS X</a></li><li><a
href='http://blog.jeffreymcmanus.com/555/installing-the-mysql-adonet-connector-into-the-global-assembly-cache/' rel='bookmark' title='Permanent Link: Installing the MySQL ADO.NET Connector into the Global Assembly Cache'>Installing the MySQL ADO.NET Connector into the Global Assembly Cache</a></li></ol>]]></description> <content:encoded><![CDATA[<table><tr><td
valign="top"> <iframe
src="http://rcm.amazon.com/e/cm?t=howtoprogramvisu&#038;o=1&#038;p=8&#038;l=as1&#038;asins=1590597532&#038;fc1=000000&#038;IS2=1&#038;lt1=_blank&#038;lc1=0000FF&#038;bc1=000000&#038;bg1=FFFFFF&#038;f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></td><td></td><td
valign="top"><p>Here&#8217;s a really brief layman&#8217;s description of the Subversion version control system along with some links to resources about it. Since this most excellent tool is approaching its 1.0 release, you might want to check it out, if you&#8217;re into that kind of thing. I&#8217;m not as well-versed with Subversion as I&#8217;d like to be, so feel free to post a comment if I got anything wrong.</p><p><span
id="more-41"></span></p><p>I&#8217;m really interested in the way people organize information and, in a more general sense, how technology can help people work more intelligently. Using technology to get more organized really pumps me up.</p><p>I&#8217;m really fascinated by version control systems. I think SourceSafe reeks, but that&#8217;s not news; everyone who uses SourceSafe thinks it reeks. I used a commercial product <a
href="http://www.perforce.com">Perforce</a> for a while and I liked that, but it&#8217;s kind of expensive ($750/seat) and a lot of purists don&#8217;t like it because it, like SourceSafe, <del>uses locks</del>expects that you&#8217;ll use locks, <em>although it apparently doesn&#8217;t require locks by default</em> (see comments).</p><p>Locking version control systems force you to check out a file to edit it. Locking is good because it means that two people can&#8217;t muck with the same file at the same time, but it&#8217;s bad because two people can&#8217;t muck with the same file at the same time. And if I check out a file, go to lunch, and get hit by a bus, you are hosed, at least until you can track down a repository administrator to release my lock on the file.</p><p>The most prevalent version control system in the open source world today is a free product called CVS. A lot of people think it reeks too, but they continue to use it because it reeks less than all the other stuff out there. (Like other ancient protocols which also reek yet continue to exist as part of the DNA of the Internet &#8212; SMTP comes to mind &#8212; CVS seems to have persisted for so long because it has persisted for so long).</p><p>CVS doesn&#8217;t lock files by default. Instead, if you want to work on something, you just start working on it. If it should happen that I changed the file while you were working on it, either you or I can merge our changes to the file using software tools that are specifically tailored to that purpose. This enables projects to scale up to hundreds of developers without the need for a lot of centralized management &#8212; perfect for open-source projects.</p><p><a
href="http://subversion.tigris.org/">Subversion</a> is a version control system that attempts to take the goodness from CVS (such as an easily automated command-line interface and a lack of locking) and get rid of some of its long-standing shortcomings &#8212; such as the lack of &#8216;atomic commits&#8217;. The ability to do atomic commits means that if you make changes to more than one file, you can specify that all of the files you&#8217;re working on must be checked in as a single (&quot;atomic&quot;) unit. In a world in which changes to multiple files often have critical interdependencies, this is a nifty feature. But there are other important benefits to using Subversion as well, such as efficient handling of binary files and an easy way to browse repositories with a Web browser (thanks to the fact that Subversion is built on top of the <a
href="http://httpd.apache.org/">Apache</a> Web server).</p><p>Subversion, like CVS, is also an open-source project. But unlike CVS, a lot of development resources are being devoted to it today. Subversion is currently close to a 1.0 release; its own team have been using it to store their own source code for many months now. They say that neither they nor anyone else have lost data with it.</p><p>I wrote this mainly to kick off a new category devoted to Subversion; I have a couple of projects I&#8217;m working on that I&#8217;d like to use it for. So I&#8217;m going to try to devote some time to learning it well.</p><p>The book <a
href="http://svnbook.red-bean.com/">Version Control with Subversion</a> is the definitive book on Subversion. The pre-publication version is available free online today, but the book will supposedly find its way into print at some point (I think O&#8217;Reilly is going to publish it, and I understand that APress is working on their own Subversion book as well, which is great).</p><p><a
href="http://tortoisesvn.tigris.org/">TortoiseSVN</a> is a nifty GUI front-end for Subversion that provides deep integration into the Windows shell. If you ever wanted to right-click on a file and add it to a version control repository, TortoiseSVN is what you want. This is the tool that I use to do 99% of my daily interaction with Subversion.</p><p>There is a Visual Studio .NET add-in for Subversion called <a
href="http://ankhsvn.tigris.org/">AnkhSVN</a>.</p><p>Subway is a project to create an SCC provider for Subversion. SCC providers let you get to a source control system from development environments that supports Microsoft&#8217;s SourceSafe integration API (this means Visual Studio and Visual Basic, but also others such as Macromedia Dreamweaver). This looks like it will be a great choice if you have existing SourceSafe users that want a relatively seamless upgrade path, but it also looks like this tool is a work in progress; the first (and only) release was put out in April 2003, and the last update to the Subway Web site was in June 2003.</p><p>Subversion has its own client API for C/C++ that you can use to integrate Subversion repositories into your applications. <a
href="http://linux.oreillynet.com/pub/a/linux/2003/04/24/libsvn1.html">Here</a> is an article by <a
href="http://linux.oreillynet.com/pub/au/1198">Garrett Rooney</a> on using the Subversion Client API. <a
href="http://www.oreillynet.com/pub/a/linux/2003/05/15/libsvn2.html">Here</a> is part two of that article. The full Subversion API documentation is <a
href="http://svn.collab.net/svn-doxygen/" class="broken_link">here</a>.</p><p><strong>Updated</strong> 28. Dec 2003 to reorganize and provide more details for Subversion utilities for Windows, in particular the indispensible TortoiseSVN and the unfortunate not-ready-for-prime-time-ishness of Subway.</p></td></tr></table><p><a
href="http://blog.jeffreymcmanus.com/41/all-about-subversion/">All About Subversion</a> is a post by <a
href="http://blog.jeffreymcmanus.com">Jeffrey McManus</a> of <a
href='http://platformassociates.com'>Platform Associates</a>. <a
href='http://twitter.com/jeffreymcmanus/'>Follow Jeffrey on Twitter</a>.</p><p>Related posts:<ol><li><a
href='http://blog.jeffreymcmanus.com/67/a-rank-amateur-upgrades-his-subversion-repository/' rel='bookmark' title='Permanent Link: A Rank Amateur Upgrades His Subversion Repository'>A Rank Amateur Upgrades His Subversion Repository</a></li><li><a
href='http://blog.jeffreymcmanus.com/156/subversion-on-mac-os-x/' rel='bookmark' title='Permanent Link: Subversion on Mac OS X'>Subversion on Mac OS X</a></li><li><a
href='http://blog.jeffreymcmanus.com/555/installing-the-mysql-adonet-connector-into-the-global-assembly-cache/' rel='bookmark' title='Permanent Link: Installing the MySQL ADO.NET Connector into the Global Assembly Cache'>Installing the MySQL ADO.NET Connector into the Global Assembly Cache</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://blog.jeffreymcmanus.com/41/all-about-subversion/feed/</wfw:commentRss> <slash:comments>10</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using memcached
Page Caching using memcached (user agent is rejected)
Database Caching 50/151 queries in 0.524 seconds using memcached

Served from: blog.jeffreymcmanus.com @ 2012-02-10 04:15:31 -->
