Running a Subversion Server on Windows[source]

    <title>Running a Subversion Server on Windows</title>
    <description>How to run a Subversion server on Windows circa 2009</description>
    <category>Source control</category>
    <category>Legacy blog posts</category>
<glacius:macro name="legacy blargh banner">
  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.
  <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>
    <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>Type this: <code>c:\lib\svn\bin\svn info svn://localhost</code></li>
<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>
  If you suck and screwed it up, delete the service by running 
  <code>sc delete subversion</code>.