[extensions] hgext.convert=After this, you do:
hg convert working_dir new_dirNote that working_dir is an actual checked out from CVS working directory of the project you want to migrate to mercurial. It will pick out a default name for new_dir (typically the last thing in the working_dir path with _hg added), but you can pick the name yourself as I do.
This actually seemed to work just fine, yielding the directory I specified with a freshly minted .hg directory inside of it.
As an amusing side note, I found the following question online:
Due to lack of Mercurial support in several tools, and managerial oppression it has become necessary to convert several trial Mercurial repositories to Subversion in order to conform with the company standard.And this is done via: hg convert --dest-type svn hgreponame svnreponame
cd workingdir git clone git://repo.or.cz/fast-export.git git init git_repo cd git_repo ../fast-export/hg-fast-export.sh -r /path/to/old/mercurial_repo git checkout HEADHere is another approach, using the mercurial hggit plugin:
cd newdir git init git remote add origin server/myproject.git git pull origin master git reset --hard HEADYou can be bold and just do this in your mercurial working directory, add a .gitignore file if desired, and to burn your bridges, delete the .hg directory.
Tom's Computer Info / [email protected]