从 VSS 迁移到 SVN [英] Moving from VSS to SVN

查看:37
本文介绍了从 VSS 迁移到 SVN的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要编写一个脚本来使一个源代码安全的项目准备好转移到subversion,到目前为止我能想到的我需要做什么:

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:

  • 删除 .scc 文件
  • 删除 .vspcc 文件

我是否需要同时删除所有文件的只读"属性,或者这无关紧要?

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

你会用什么语言编写这个脚本,我打算用 python 来做(os.walk 很棒),但也许 powershell 更适合在 Windows 上更改文件属性(如果我需要的话)?

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

在我将项目移至 SVN 之前,您还有什么需要做的事情吗?

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

推荐答案

对于手动迁移(或了解会发生什么):

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

  • 删除所有文件的只读"属性
  • 删除 *.scc
  • 删除 *.vssscc
  • 删除 *.vspscc
  • 删除*.suo
  • 从您的 solution.sln 文件中删除SourceCodeControl..."部分
  • 从您的 projects.csproj 文件中删除SccProjectName..."部分

这篇关于从 VSS 迁移到 SVN的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆