svn - How to convert local Subversion repo to hg hosted on bitbucket? -
i have asp.net , c# source code versioned using local debian linux machine on network using subversion. local path repo is: http://carbon.local/svn/main/websites/moodb
i want move source code mercurial , have hosted on bitbucket.org. i've set account on bitbucket , want convert local svn hg , upload repo complete history bitbucket. bitbucket repo here:
https://bitbucket.org/keymoo/moodb
i've done googling , tried in temp working directory (running on windows 7 , have installed tortoisehg):
hg convert http://carbon.local/svn/main/websites/moodb
this creates .hg folder ran command source code has not been copied. i'm unsure how repo , history bitbucket. please help, want , running repo+history on bitbucket asap.
your repository , source code have been copied. can think of .hg
directory being repository, subversion server, except it's local. mercurial keeps copy of whole repository locally. reason can't see files because haven't checked out specific revision yet, can entering directory converted repository , typing hg update
.
if want upload repository bitbucket, have configure bitbucket repository within repository's .hg/hgrc
file according bitbucket documentation. can push repository bitbucket using hg push
.
more specifically, need tell repository can find remote repository. here's example test repository created @ bitbucket:
[paths] default = https://csstaub@bitbucket.org/csstaub/test
that tells mercurial "there remote repository name default , located @ following address". have take address of repository shown on it's bitbucket page. can hg push
in order push repository bitbucket.
here links bitbucket documentation started:
Comments
Post a Comment