- Install hgsubversion:
- hg clone https://hgsubversion.googlecode.com/hg/ ~\hgsubversion
- Add below lines to %USERPROFILE%\Mecurial.INI
[extensions]
hgsubversion = ~/hgsubversion/hgsubversion - user hg help hgsubversion to confirm above installation
- Clone SVN repository:
- hg clone https://hostname/svn/repositoryname, if it requires authentication, use below command instead:
hg clone svn+https://hostname/svn/repositoryname to type in the username and password at the prompt, or
use “—config” to specify the username and password like hg clone –config hgsubversion.username=username
--config hgsubversion.password svn+https://hostname/svn/repositoryname
- hg clone https://hostname/svn/repositoryname, if it requires authentication, use below command instead:
- Upload the repository:
hg push <remote repository url>
Referrence:
http://blogs.atlassian.com/2011/03/goodbye_subversion_hello_mercurial/
No comments:
Post a Comment