svn将所有文件、子目录移动到新目录中
svn的新手。我尝试将完整的目录加载到svn中 例如: 其中mynewcontent有许多子目录和文件。现在,当我查看svn将所有文件、子目录移动到新目录中,svn,Svn,svn的新手。我尝试将完整的目录加载到svn中 例如: 其中mynewcontent有许多子目录和文件。现在,当我查看svn.something.edu/repo/portal时,我有了一个目录/文件列表,例如: File1 File2 Subdir1/ Subdir2/ 但是,我希望所有这些文件都位于svn上的mynewcontent目录中 我可以做一些类似于: svn move http://svn.something.edu/repo/portal/* http://svn.someth
svn.something.edu/repo/portal时,我有了一个目录/文件列表,例如:
File1
File2
Subdir1/
Subdir2/
但是,我希望所有这些文件都位于svn上的mynewcontent目录中
我可以做一些类似于:
svn move http://svn.something.edu/repo/portal/* http://svn.something.edu/repo/portal/mynewcontent
谢谢 我想说,虽然这可能有效,但这不是一条路。将项目重新导入到所需的结构中
svn import mynewcontent svn.something.edu/repo/portal/trunk/mynewcontent -m "First import"
不要忘了在以后检查它,用于导入的源不是工作副本
svn checkout --force svn.something.edu/repo/portal/trunk/mynewcontent .
是的,你可以。不是一步一个脚印,不是一步一个脚印,而是一步一个脚印
- 纯存储库端
svn mkdir
svn移动…/portal/file1/门户/fileN…门户/mynewcontent/
- 在中间使用WC
svn公司
svn开关^/mynewcontent
svn ci
然后从根目录中删除过时的数据
svn checkout --force svn.something.edu/repo/portal/trunk/mynewcontent .