Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I just had to tackle this problem myself. I have a windows XP machine with a separate windows server hosting <a href="http://www.visualsvn.com/server/" rel="nofollow noreferrer">VisualSVN Server</a>.</p> <p>I also have <a href="https://tortoisehg.bitbucket.io/" rel="nofollow noreferrer">TortoiseHG</a> installed as well as the <a href="http://www.open.collab.net/downloads/subversion/" rel="nofollow noreferrer">CollabNet Subversion Command-Line Client</a>.</p> <p><strong><code>&lt;Enable Convert Extension w/ Tortoise Hg 2&gt;</code></strong></p> <p>Many thanks to <a href="https://stackoverflow.com/users/70182/bgever">bgever</a> for pointing out in the comments that with TortoiseHg 2.0, enabling the convert extension is easier than ever. As he says</p> <blockquote> <p>With TortoiseHG 2.0 this has been made much simpler: Start the TortoiseHG Workbench from the Start menu. Select File --> Settings. Select Extensions from the list. Check the 'convert' checkbox and click OK. That's it! No need to try to generate the config file anymore and search it in the file system. – bgever Mar 11 at 7:56</p> </blockquote> <p><strong><code>&lt;/Enable Convert Extension w/ Tortoise Hg 2&gt;</code></strong></p> <p><strong><code>&lt;Enable Convert Extension Manually&gt;</code></strong></p> <p>To convert a repository from SVN to HG, I followed these steps:</p> <p>1) Open C:\Program Files\TortoiseHg\Mercurial.ini</p> <p><strong>EDIT</strong></p> <p>FYI - Tortoise Hg has migrated this file to </p> <ul> <li>XP or older - C:\Documents and Settings\USERNAME\Mercurial.ini</li> <li>Vista or later - C:\Users\USERNAME\Mercurial.ini</li> </ul> <p>That file will be mostly empty and you'll just list what you'd like to override there. If that's what you have, simple add these two lines to the very end of the file:</p> <pre><code>[extensions] convert = </code></pre> <p>2) Search for the line that begins with </p> <blockquote> <p>[extensions]</p> </blockquote> <p>3) Below it you'll see a list of keywords, commented out with a semicolon (;) on each line</p> <p>4) Find the line that says </p> <blockquote> <p>;convert =</p> </blockquote> <p>and delete the semicolon so it reads </p> <blockquote> <p>convert =</p> </blockquote> <p><strong><code>&lt;/Enable Convert Extension Manually&gt;</code></strong></p> <p>5) Open the command prompt and navigate to the directory that you'd like the new hg folder created in (the process will create a new folder called yoursvnreponame-hg in the directory that the command prompt is open to).</p> <p>6) Use this command</p> <blockquote> <p>hg convert file:///y:/yoursvnreponame</p> </blockquote> <p>I found that the convert tool can have problems with networked repositories, so I had to map a drive to it, but this worked just fine for me.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload