如何将文件夹从一个仓库移动到另一个仓库? [英] How to move a folder from one repo to another repo?
本文介绍了如何将文件夹从一个仓库移动到另一个仓库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我尝试将一个文件夹从一个存储库移动到另一个存储库,并按照以下步骤操作.
I tried to move one folder from one repo to another repo and followed the below steps.
在SVN中转储特定文件夹
To take dump of particular folder in SVN
svnadmin dump repo1 | svndumpfilter include repo1/branches/folder1/ > folder1.dump
恢复转储
svnadmin load repo2 < folder1.dump
它已成功加载,但我无法列出新存储库中的内容.如果我从新的存储库中签出,它就可以工作.
It got loaded successfully but I can't list the contents in the new repo. If I check out from the new repo, it works.
您能否建议如何列出新存储库的内容?
Can you please suggest how to list the contents of the new repo?
谢谢.
推荐答案
列出新仓库的内容
svn list --recursive full_url_of_repo2
或简而言之:
svn ls -R ...
您可能需要使用 localhost://path_to_repo2 作为完整网址.
You might need to use localhost://path_to_repo2 as full url.
有帮助吗?
尼古拉斯
这篇关于如何将文件夹从一个仓库移动到另一个仓库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文