GithubHelp home page GithubHelp logo

tfs2svn's People

Contributors

cgoss avatar dionoid avatar drusellers avatar hartorn avatar jv42 avatar kevincolyar avatar phredaustin avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

tfs2svn's Issues

tfs2svn doesn't work with several TFS workspaces

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.

Need support encoding utf-8

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 ???????.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.