hartorn / tfs2svn Goto Github PK
View Code? Open in Web Editor NEWThis project forked from kevincolyar/tfs2svn
tfs2svn
This project forked from kevincolyar/tfs2svn
tfs2svn
I'm using version 2.0 of your program. Currently I'm trying to migrate from our TFS2010 to our new SCN repository. But I always get errors.
1️⃣ First I tried to migrate a single TFS workspace using the following configuration:
TFS Server : http://[TFS-ADDRESS]:[PORT]/tfs/[COLLECTION]/
TFS Repo : $/[TFS-WORKSPACE]/
TFS Client library : MS Team Explorer
Start at Changeset# : 1
SVN repository (dest) : http://[SVN-ADDRESS]/[REPO-PATH]/[FOLDER]/
[x] Create local file repository
Working copy folder : [MyDocuments]\tfs2svn
[x] Do initial checkout
In the Status
tab I get the following messages:
Starting converting from TFS to SVN
Processing TFS Changeset: 11020 ... done
Processing TFS Changeset: 11021 ... done
Processing TFS Changeset: 11022 ... done
Processing TFS Changeset: 11023 ...
!!!ERROR(S) FOUND
And I get a dialog with the following message:
System.Exception: $/[ANOTHER-TFS-WORKSPACE]/[PROJECT]/[PATH-TO-FILE]/[FILE] is not contained in $/[TFS-WORKSPACE]
bei Colyar.SourceControl.MicrosoftTfsClient.TfsClientProvider.GetItemPath(Item item)
bei Colyar.SourceControl.MicrosoftTfsClient.TfsClientProvider.EditFile(Changeset changeset, Change change)
bei Colyar.SourceControl.MicrosoftTfsClient.TfsClientProvider.ProcessFileChange(Changeset changeset, Change change)
bei Colyar.SourceControl.MicrosoftTfsClient.TfsClientProvider.ProcessAllChangeSets()
bei tfs2svn.Winforms.MainForm.DoWork(Object obj)
Seems the problem is that one of the Changesets not only contains changes for the workspace I've defined, but also for another workspace. 😕
2️⃣ Okay, no problem, let's try to migrate the whole collection:
TFS Server : http://[TFS-ADDRESS]:[PORT]/tfs/[COLLECTION]/
TFS Repo : $/
TFS Client library : MS Team Explorer
Start at Changeset# : 1
SVN repository (dest) : http://[SVN-ADDRESS]/[REPO-PATH]/
[x] Create local file repository
Working copy folder : [MyDocuments]\tfs2svn
[x] Do initial checkout
Now I get the following message in the Status
tab:
Starting converting from TFS to SVN
Processing TFS Changeset: 1 ... done
Processing TFS Changeset: 2
!!!ERROR(S) FOUND
And the following error dialog:
System.Exception: svn error when executing 'svn add --depth=empty "C:\Users\[USER]\Documents\tfs2svn[TFS-WORKSPACE]"'. Exception: svn: E155007: 'C:\Users\[USER]\Documents' is not a working copy.
bei Colyar.SourceControl.Subversion.SvnImporter.ParseSvnOutput(String input, String output)
bei Colyar.SourceControl.Subversion.SvnImporter.AddFolder(String path)
bei Colyar.SourceControl.Tfs2Svn.Tfs2SvnConverter.tfsExporter_FolderAdded(Int32 changeset, String path, String committer, String comment, DateTime date)
bei Colyar.SourceControl.SinglePathHandler.Invoke(Int32 changeset, String path, String committer, String comment, DateTime date)
bei Colyar.SourceControl.MicrosoftTfsClient.TfsClientProvider.AddFolder(Changeset changeset, Change change)
bei Colyar.SourceControl.MicrosoftTfsClient.TfsClientProvider.ProcessFolderChange(Changeset changeset, Change change)
bei Colyar.SourceControl.MicrosoftTfsClient.TfsClientProvider.ProcessAllChangeSets()
bei tfs2svn.Winforms.MainForm.DoWork(Object obj)
Hm, seems a slash is now missing which separates the working folder and the TFS workspace name. 😑
3️⃣ So let's the working copy folder and add a slash at the end:
TFS Server : http://[TFS-ADDRESS]:[PORT]/tfs/[COLLECTION]/
TFS Repo : $/
TFS Client library : MS Team Explorer
Start at Changeset# : 1
SVN repository (dest) : http://[SVN-ADDRESS]/[REPO-PATH]/
[x] Create local file repository
Working copy folder : [MyDocuments]\tfs2svn\
[x] Do initial checkout
Now I get the following message in the Status
tab:
Status:
Starting converting from TFS to SVN
!!!ERROR(S) FOUND
And the following error dialog:
System.Exception: svn error when executing 'svn co "http://[SVN-ADDRESS]/[REPO-PATH]/" "C:\Users\[USER]\Documents\tfs2svn\". Exception: svn: E020024: Error resolving case of 'C:\Users\[USER]\Documents\tfs2svn"'.
bei Colyar.SourceControl.Subversion.SvnImporter.ParseSvnOutput(String input, String output)
bei Colyar.SourceControl.Tfs2Svn.Tfs2SvnConverter.Convert()
bei tfs2svn.Winforms.MainForm.DoWork(Object obj)
😫
And now I'm at a point I don't know what I should do to make it working.
Hi, @Harton
Could I add the TFS root repo? how to confi it
there'a one of projects in the root repo path
I want to checkout all the project in the root repo
How can I config it? Thanks.
Hi, I found that the commit log is not support utf-8. how to fix it ? Thanks
when I change tfs commit log in Chiniese, I found when I import svn the commit log has been changed into ???????.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.