Мы переносим коллекции TFS 2010 в SVN. Чтобы это работало для нас, мне нужно было скачать и изменить исходный код TFS2SVN, чтобы он понимал коллекции, которые мы сделали.
В данный момент я просто жестко закодировал значения, потому что мы собираемся использовать это только дважды. Мы изменили tfs2svn \ trunk \ Colyar.SourceControl.Tfs2Svn \ Tfs2SvnConverter.cs как показано ниже
public Tfs2SvnConverter(string tfsPath, string svnPath, bool createSvnFileRepository, int fromChangeset, string workingCopyPath, string svnBinFolder, bool doInitialCheckout, string tfsUsername, string tfsPassword, string tfsDomain)
{
ParsePaths(tfsPath, svnPath);
this._tfsServer = "http://<tfs domain>:8080/tfs/<team project collection name>";
this._tfsRepository = "<remote source location>"; // "$/<team project name>/..."
//this._tfsExporter = new TfsExporter(this._tfsServer, this._tfsRepository, workingCopyPath, fromChangeset, tfsUsername, tfsPassword, tfsDomain);
TfsClient.Provider.Connect(this._tfsServer, this._tfsRepository, workingCopyPath, fromChangeset, tfsUsername, tfsPassword, tfsDomain);
this._svnImporter = new SvnImporter(this._svnRepository, workingCopyPath, svnBinFolder);
_createSvnFileRepository = createSvnFileRepository;
_doInitialCheckout = doInitialCheckout;
_workingCopyPath = workingCopyPath;
HookupTfsExporterEventHandlers();
}