Running a Subversion Server on Windows[source]

xml
<glacius:metadata>
    <title>Running a Subversion Server on Windows</title>
    <description>How to run a Subversion server on Windows circa 2009</description>
    <category>Programming</category>
    <category>Source control</category>
    <category>Legacy blog posts</category>
    <category>Subversion</category>
</glacius:metadata>
<glacius:macro name="legacy blargh banner">
    <properties>
        <originalUrl>https://tmont.com/blargh/2009/6/running-a-subversion-server-on-windows</originalUrl>
        <originalDate>2009-06-17T03:35:36.000Z</originalDate>
    </properties>
</glacius:macro>
<p>
  This needs to be in more places on the internet. I'm sick of googling it every time I can't 
  remember the stupid command.
</p>
<ol>
  <li>Download the zipped up version of Subversion, and put it somewhere, say, <code>c:\lib\svn</code></li>
  <li>Create your subversion repository: <code>c:\lib\svn\bin\svnadmin create c:\path\to\repo</code></li>
  <li>
    <p>Type this, and the equals sign spacing is <strong>extremely</strong> intentional:</p>
    <glacius:code lang="dos"><![CDATA[sc create subversion binpath= "c:\lib\svn\bin\svnserve.exe --service --root c:\path\to\repo" start= auto depend= Tcpip displayname= "Subversion Server"]]></glacius:code>
  </li>
  <li>Type this: <code>c:\lib\svn\bin\svn info svn://localhost</code></li>
  <li>Profit.</li>
</ol>
<p>If you see this:</p>
<glacius:code lang="plaintext"><![CDATA[Path: localhost
URL: svn://localhost
Repository Root: svn://localhost
Repository UUID: b2faa4b0-80f5-4142-907f-0accf209a4de
Revision: 0
Node Kind: directory
Last Changed Rev: 0
Last Changed Date: 2009-06-16 14:01:41 -0700 (Tue, 16 Jun 2009)]]></glacius:code>
<p>a winner is you.</p>
<p>
  If you suck and screwed it up, delete the service by running 
  <code>sc delete subversion</code>.
</p>