How do I migrate a Mercurial (Hg) source code repo

2019-01-26 18:27发布

问题:

This seems to be the opposite of what most people are trying to do. I want to export all of the changesets from a Mercurial (Hg) repository and import them into Team Foundation Server 2010 and include the history. I can't be the only one going to TFS, right? It looks like I might be able to export from Hg to Git and then Git to TFS. Is there a better way?

回答1:

You can (for bidirectional data-exchange) use SVNBridge