Migrate Fails with "Same key already exists" Exception

Feb 25, 2013 at 10:55 PM
I am trying to migrate my existing SourceSafe database to svn. I made a duplicate of my database on an external USB hard drive, ran VSS's analyze which reported some errors. I then ran analyze with the -F option to fix the errors.

I chose a very small project to start the migration as a test. vss2svn correctly finds all the files in the project when I click on "Find files in SourceSafe". However when I click on "Migrate to subversion" I get a popup with the following:
    Error while migrating project to subversion

    System.ArgumentException: An entry with the same key already exists.
       at System.ThrowHelper.ThrowArgumentException(ExceptionSource resource)
       at System.Collections.Generic.SortedList 2.Add(TKey key, TValue value)
       at VSS2SVN.frmMain.cmdMigrate_Click(Object sender, EventArgs e)
I downloaded the latest version from the web site as of today (2013-02-25).

Any idea what is happening? There doesn't appear to be any logs associated with the app. Any one else experience this issue?

Feb 26, 2013 at 8:34 PM
Edited Feb 26, 2013 at 8:34 PM
Problem Resolved!

I downloaded the source code and ran it in the debugger. Turns out that in my "Ignore files with the following patterns" edit control there were multiple extensions listed where the only difference was case. I removed the duplicates and it got past this step.