<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>crunchlife: Subversion on Windows in Five Steps</title>
    <link>http://crunchlife.com/articles/2007/08/15/subversion-on-windows-in-five-steps</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description></description>
    <item>
      <title>Subversion on Windows in Five Steps</title>
      <description>&lt;p&gt;&lt;a href="http://subversion.tigris.org/" target="_blank"&gt;Subversion&lt;/a&gt; (SVN) is a &lt;a href="http://en.wikipedia.org/wiki/Version_control" target="_blank"&gt;version control&lt;/a&gt; system that allows software developers to track the changes of source code and other documents.  Since the release of Microsoft&amp;#8217;s .NET Framework, Subversion has become a popular choice for developers of &lt;a href="http://en.wikipedia.org/wiki/Open_source" target="_blank"&gt;open source&lt;/a&gt; projects on the Microsoft Windows platform.  The latest release of Subversion can be installed on Windows XP Professional by following these five simple steps.&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;
    Download and install &lt;a href="http://subversion.tigris.org/files/documents/15/38369/svn-1.4.4-setup.exe" target="_blank"&gt;Subversion&lt;/a&gt;.&lt;br /&gt;    
  &lt;/li&gt;&lt;br /&gt;
  &lt;li&gt;
    Download and install &lt;a href="http://prdownloads.sourceforge.net/tortoisesvn/TortoiseSVN-1.4.4.9706-win32-svn-1.4.4.msi?download" target="_blank"&gt;TortoiseSVN&lt;/a&gt;.&lt;br /&gt;    
  &lt;/li&gt;&lt;br /&gt;
  &lt;li&gt;
    Create a repository for your project.&lt;br /&gt;
    &lt;ul&gt;
      &lt;li&gt;Create folder &#8220;D:\Subversion\TestProject&#8221;.&lt;/li&gt;
      &lt;li&gt;Right-click TestProject | TortoiseSVN | Create Repository here.
&lt;/li&gt;
      &lt;li&gt;
        Set up repository permissions.
        &lt;ol&gt;
          &lt;li&gt;
            Uncomment the following lines in &#8220;D:\Subversion\TestProject\conf\svnserve.conf&#8221; (remove #):&lt;br /&gt;
            &lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_default "&gt;              #anon-access = read
              #auth-access = write
              #password-db = passwd
            &lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
          &lt;/li&gt;
          &lt;li&gt;
            Add users to the passwd file in the format of username = password.
          &lt;/li&gt;
        &lt;/ol&gt;
      &lt;/li&gt;&lt;br /&gt;
    &lt;/ul&gt;    
  &lt;/li&gt;
  &lt;li&gt;
    Set up the Subversion Service.  &lt;strong&gt;Pay attention to the binpath argument.&lt;/strong&gt; You can always issue the &#8220;sc delete svn&#8221; command to remove the service and start again.&lt;br /&gt;
    &lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_default "&gt;      sc create svn binpath= &amp;quot;\&amp;quot;C:\Program Files\Subversion\bin\svnserve.exe\&amp;quot; --service -rD:\Subversion&amp;quot; displayname= &amp;quot;Subversion Server&amp;quot; depend= Tcpip start= auto

      sc start svn
    &lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
  &lt;/li&gt;&lt;br /&gt;
  &lt;li&gt;
    Import repository layout.&lt;br /&gt;
    &lt;ul&gt;
      &lt;li&gt;Create folder &#8220;C:\tmp&#8221;.&lt;/li&gt;
      &lt;li&gt;Create folders branches, tags, and trunk in &#8220;C:\tmp&#8221;.&lt;/li&gt;
      &lt;li&gt;Right-click tmp | TortoiseSVN | Import&amp;#8230;
        &lt;ol&gt;
          &lt;li&gt;URL of repository: svn://[IP address of server]/TestProject.&lt;/li&gt;
          &lt;li&gt;Import message: Initial repository load.&lt;/li&gt;
          &lt;li&gt;Click &amp;#8216;OK&amp;#8217;.&lt;/li&gt;
          &lt;li&gt;Enter your username and password from step 3.&lt;/li&gt;
        &lt;/ol&gt;        
      &lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This is all it takes to set up and install Subversion on Windows XP Professional.  For more information, check out the HTML edition of, &lt;a href="http://svnbook.red-bean.com/nightly/en/index.html" target="_blank"&gt;Version Control with Subversion&lt;/a&gt;. &lt;/p&gt;</description>
      <pubDate>Wed, 15 Aug 2007 20:39:00 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:7fbd0b50-c6ea-49f2-a7c3-be5a33b06caf</guid>
      <author>Ryan Baxter</author>
      <link>http://crunchlife.com/articles/2007/08/15/subversion-on-windows-in-five-steps</link>
      <category>SCM</category>
      <category>SVN</category>
    </item>
  </channel>
</rss>
