Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Moving from VSS to SVN

I need to write a script to make a source safe project ready to be moved to subversion, what do I need to do so far I can think of:

  • remove .scc files
  • remove .vspcc files

Do I need to remove the "read-only" attribute of all the files as well, or will that not matter?

What language would you write this script in, I was planning to do it in python (os.walk is great), but maybe powershell would be more appropriate to chnage file attributes on windows (if I need to)?

Is there anything else you can think of that needs to be done before I move the project to SVN?

like image 674
mmattax Avatar asked Sep 18 '08 16:09

mmattax


People also ask

What is VSS and SVN?

Tool of SVN and VSS The tool was originally developed by a company named One Tree Software which was later acquired by Microsoft. VSS is discontinued service now. SVN, on the other hand, is a free, open source version and revision control system distributed under the Apache License.

What is SVN migration?

SVN is a popular tool for code hosting. It is used to manage different versions of files like source code, documentation and more. It keeps history and project data. Subversion is an open-source tool and comes under the Apache License.

What is VSS and Git?

Vss2Git is a Windows GUI application that exports all or parts of an existing Microsoft Visual SourceSafe 6.0 (VSS) (Wikipedia) repository to a new Git repository.


1 Answers

For a manual migration (or to understand what happens) :

  • remove "read-only" attribute for all files
  • remove *.scc
  • remove *.vssscc
  • remove *.vspscc
  • delete *.suo
  • remove "SourceCodeControl..." section from your solution.sln file
  • remove "SccProjectName..." section from your projects.csproj files
like image 107
Michel Avatar answered Sep 28 '22 02:09

Michel