简体   繁体   中英

Import TFS History into Mercurial (hg)

Has anyone had any success importing TFS 2008 history into a new Mercurial repository?

The only possible solution I've found to date is to go TFS -> svn -> hg using tfs2svn and then using the Convert Extension but I haven't tried this yet.

这是有关将TFS转换为Mercurial的博客文章,该人已经转换了许多项目: http : //blog.eworldui.net/post/2010/03/16/Mercurial-Conversion-from-Team-Foundation-Server.aspx

I just put together a simple tool that synchronizes changesets from TFS to Hg for a single branch, using TF.exe and HG.exe.

http://bitbucket.org/rojepp/tfstohg

Update: The F# port of the tool is more stable and less resource intensive than the C# version: http://bitbucket.org/rojepp/tfstohgfs/

The latest build of SvnBridge was updated to better support using the hg convert command. So we've been using hg convert with SvnBridge now and for most projects it has been working perfectly.

我在周末无法入睡,也无法使TFS-> SVN-> Hg解决方案可靠地工作,所以我编写了一个用于执行此操作的工具: Tfs2Hg

The convert extension does not support TFS (as of Mercurial 2.0).

If you can convert to Subversion first, then that is a good option.

This is not unusual — when converting from CVS, some users report better results by first using one of the highly tuned CVS to SVN converters out there, and then converting from SVN to Hg. So don't feel bad about taking this "detour" :-)

tfs2svn或使用Mercurial Convert扩展直接通过SvnBridge进行转换。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM