How to move a folder from one repo to another repo?

时光怂恿深爱的人放手 提交于 2020-01-25 18:43:47

问题


I tried to move one folder from one repo to another repo and followed the below steps.

To take dump of particular folder in SVN

svnadmin dump repo1 | svndumpfilter include repo1/branches/folder1/ > folder1.dump

To restore the 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?

Thanks.


回答1:


To list content of new repo

svn list --recursive full_url_of_repo2

or in short:

svn ls -R ...

You might need to use localhost://path_to_repo2 as full url.

Does it help ?

Nicolas



来源:https://stackoverflow.com/questions/21827934/how-to-move-a-folder-from-one-repo-to-another-repo

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!