是否可以在保留历史记录的同时将单个文件从一个 SVN 存储库迁移到另一个? [英] Is it possible to migrate a single file from one SVN repository to another while preserving history?

查看:28
本文介绍了是否可以在保留历史记录的同时将单个文件从一个 SVN 存储库迁移到另一个?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的个人 SVN 存储库中启动了一个小应用程序.它获得了足够的兴趣,值得将开发转移到共享组存储库.应用程序(只有一个文件)及其历史记录可以迁移到组存储库吗?

I started a small application in my personal SVN repository. It's gained enough interest that it is worth moving development to a shared group repository. Can the application (only a single file) including its history be migrated to the group repository?

推荐答案

查看 'svnadmin dump'、'svnadmin load' 和 'svndumpfilter'

Check out 'svnadmin dump', 'svnadmin load' and 'svndumpfilter'

http:///svnbook.red-bean.com/nightly/en/svn.reposadmin.maint.html#svn.reposadmin.maint.migrate

使用要移动的文件转储存储库,使用 svndumpfilter 仅过滤掉该文件的路径,然后将过滤后的转储加载到共享存储库中.

Dump the repository with the file you want to move, use svndumpfilter to filter out only the paths for that file, then load the filtered dump into the shared repository.

这篇关于是否可以在保留历史记录的同时将单个文件从一个 SVN 存储库迁移到另一个?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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