At citeck.ru we needed to migrate couple of our legacy projects from old subversion to mercurial.
We use mercurial from bitbucket .
Hg convert doesn't work at all with password protected svn repositories - "http authorization required".
It's a known problem:
http://stackoverflow.com/questions/3119058/how-can-i-get-hg-to-prompt-for-my-http-auth-username-password-on-cygwin-wind
http://www.grumpydev.com/2010/03/01/moving-a-repository-from-svn-to-mercurial-with-full-history/
So after some time googling and trying different workarounds I gave up and did the next steps.
1. Dumped repository backup I downloaded from our svn server:
svnadmin dump c:/svnbak/myrepo > repo_dump
2. Loaded repo dump to local svn server without http authoriation running on my pc:
svnadmin load c:\Repositories\myrepo < repo_dump
3. Converted and loaded to mercurial without "http authorization required":
hg convert http://localhost/myrepo
cd myrepo-hg
hg push https://bitbucket.org/myuser/myrepo
And as a result the nice mercurial repo with all the revisions from svn.
We use mercurial from bitbucket .
Hg convert doesn't work at all with password protected svn repositories - "http authorization required".
It's a known problem:
http://stackoverflow.com/questions/3119058/how-can-i-get-hg-to-prompt-for-my-http-auth-username-password-on-cygwin-wind
http://www.grumpydev.com/2010/03/01/moving-a-repository-from-svn-to-mercurial-with-full-history/
So after some time googling and trying different workarounds I gave up and did the next steps.
1. Dumped repository backup I downloaded from our svn server:
svnadmin dump c:/svnbak/myrepo > repo_dump
2. Loaded repo dump to local svn server without http authoriation running on my pc:
svnadmin load c:\Repositories\myrepo < repo_dump
3. Converted and loaded to mercurial without "http authorization required":
hg convert http://localhost/myrepo
cd myrepo-hg
hg push https://bitbucket.org/myuser/myrepo
And as a result the nice mercurial repo with all the revisions from svn.