I currently have my ASP.NET and C# source code versioned using a local Debian Linux machine on my network using Subversion. My local path to the repo is: http://carbon.local/svn/main/WebSites/MooDB
I want to move my source code to Mercurial and have it hosted on bitbucket.org. I've set up an account on bitbucket and want to convert my local SVN to Hg and then upload the repo complete with history to bitbucket. The bitbucket repo is here:
https://bitbucket.org/keymoo/moodb
I've done some googling and tried this in a temp working directory (running this on Windows 7 and have installed TortoiseHg):
hg convert http://carbon.local/svn/main/WebSites/MooDB
This creates a .hg folder where I ran the command but my source code has not been copied. I'm also unsure how to get the repo and history into bitbucket. Please help, I just want to get up and running with my repo+history on bitbucket ASAP.
That's easy.
mkdir MooDB_hg
cd MooDB_hg
hg clone svn+http://carbon.local/svn/main/WebSites/MooDB
hg push https://bitbucket.org/keymoo/moodb
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With