开发者

Can I automatically overwrite repository files using svn_load_dirs.pl or similiar?

开发者 https://www.devze.com 2022-12-15 22:50 出处:网络
I am working with a legacy VSS repository which was transferred over to a new SVN repository a few months ago. In the meantime, before we go live with the SV开发者_JAVA百科N repository, we need to bri

I am working with a legacy VSS repository which was transferred over to a new SVN repository a few months ago. In the meantime, before we go live with the SV开发者_JAVA百科N repository, we need to bring over all the changes that have happened on the VSS one between then and now.

I was looking at different ways to do this which seem to be things such as:

1.) svn_load_dirs.pl then merge the files manually? 2.) svn import straight into the trunk and merge files manually 3.) checkout a working copy of my SVN repository, copy in the changed files which will overwrite some of the ones in my working copy then commit the changes.

My question is, can any of these options be used (or any other options) to automate things so that I don't have to merge the files, and can instead just overwrite them? I think only Option 3 would do this but any help is appreciated.


Have you done anything with the code in the VSS repository since you first imported it? If not, then I would probably delete the whole Subversion repository, then reimport the code in VSS back into a fresh Subversion repository. That way you'll preserve all the VSS history without having to write a one-off import script to pull in just the changes since the last import.

To be extra sure, you could make the entire VSS repository read-only (so nobody accidentally modifies it) before you do the import into Subversion.

0

精彩评论

暂无评论...
验证码 换一张
取 消