Using Subversion Command Line
<h3 class="heading-h6"><a name="THLToolboxhomegtServerIssuesgtDevelopersZoneDevelopersZonegtSubversionUserGuidegtAdvancedSubversionIssuesgtUsingCommandLine" class="anchorpoint"></a><a href="/tools/wiki/home.html">THL Toolbox</a> > <a href="/tools/wiki/Server%20Issues.html">Server Issues</a> > <a href="/tools/wiki/Developers%27%20Zone.html">Developers’ Zone</a> > <a href="/tools/wiki/Subversion%20User%20Guide.html">Subversion User Guide</a> > <a href="/tools/wiki/Advanced%20Subversion%20Issues.html">Advanced Subversion Issues</a> > Using Command Line</h3><p class="paragraph">
</p><h3 class="heading-h1"><a name="UsingSubversionCommandLineLocally" class="anchorpoint"></a>Using Subversion Command Line Locally</h3><p class="paragraph"><strong class="bold">Contributor(s)</strong>: Than Grove</p><p class="paragraph">Some GUI interfaces to Subversion (SVN) may also allow the use of your computers command line to interface with repositories, but the recommended Windows client, Tortoise, does not. To use the command-line, in such cases, a separate command-line SVN client must be installed. Two such clients are:</p><ol><li><span class="nobr"><img src="/" alt="external link: " title="external link"/><a href="http://www.sliksvn.com/en/download/" target="rwikiexternal">Slik</a></span>: Provide clients for Windows, Mac, and Linux</li>
<li><span class="nobr"><img src="/" alt="external link: " title="external link"/><a href="http://www.open.collab.net/downloads/subversion/" target="rwikiexternal">CollabNet</a></span>: Second option is a command-line client for Windows only.</li></ol><p class="paragraph">When these are installed, you can navigate in a DOS or Terminal Window to a local repository folder found on your computer and type such commands as:</p><ul class="star"><li>svn info - <em class="italic">provides information about that folder's, latest updates, current revision, etc.</em></li>
<li>svn update - <em class="italic">updates the folder to match the current revisions in the repository </em></li>
<li>svn commit - <em class="italic">commits recent changes in the local folder to the repository </em></li></ul><p class="paragraph">The full list of commands is found in Chapter 9 of the <span class="nobr"><img src="/" alt="external link: " title="external link"/><a href="http://svnbook.red-bean.com/en/1.2/svn-book.pdf" target="rwikiexternal">SVN Book</a></span>.</p><p class="paragraph">Installing a command-line SVN client also allows you to write simple batch files to update all of your repositories (e.g., dev, staging, production} automatically
</p><h3 class="heading-h6"><a name="ProvidedforunrestrictedusebythespanclassnobrimgsrcsakairwikitoolimagesicklearrowgifaltexternallinktitleexternallinkahrefhttpwwwthliborgtargetrwikiexternalTibetanandHimalayanLibraryaspan" class="anchorpoint"></a><em class="italic">Provided for unrestricted use by the <span class="nobr"><img src="/" alt="external link: " title="external link"/><a href="http://www.thlib.org" target="rwikiexternal">Tibetan and Himalayan Library</a></span></em></h3>