Wednesday, November 18, 2009

Getting Started with hgsvn on Windows

You will need the following tools (the versions used by me are in the brackets):
  1. Slik SVN (Slik-Subversion-1.6.6-win32)
  2. TortoiseHg (TortoiseHg-0.9-hg-1.4.exe)
  3. Python (python-2.5.4.msi)
  4. Python setuptools (setuptools-0.6c11.win32-py2.5.exe)
Install them and add svn_install_dir, python_install_dir, python_install_dir\Scripts and tortoisehg_install_dir to the system PATH variable if they are not.
Run 'easy_install.exe hgsvn' from the command line. This will download and install the latest version of hgsvn (utilities hgimportsvn, hgpullsvn, hgpushsvn will appear in python_install_dir\Scripts).
Run
hgimportsvn http://svn.foo.bar/your/repository
cd repository
hgpullsvn
That's it! Now you have a Mercurial copy of your repo.
See hgsvn homepage and Mercurial Wiki: WorkingWithSubversion for further information.

1 comment:

  1. This comment has been removed by a blog administrator.

    ReplyDelete