How do i dump a specific subversion path from a berkeley db?

时间秒杀一切 提交于 2019-12-10 10:49:29

问题


I'm trying to migrate one specific branch from a windows subversion berkeley db installation, however I cant seem to be able to work out how to pass a "path" to it as its a db structure and not a flat file system.

Can anyone give me any pointers, with preferably an example?

Thanks


回答1:


svnadmin dump [PATH_TO_REPO] | svndumpfilter include [PATH_OF_BRANCH] > output.dmp
svnadmin create [PATH_TO_NEW_REPO]
svnadmin load [PATH_TO_NEW_REPO] < output.dmp

Remarks:

  • [PATH_TO_REPO] and [PATH_TO_NEW_REPO] is the local Filesystempath to your repository, not the URL

[PATH_OF_BRANCH] is a repository relative path to your branch, without URL to repository, ususally something like:

/branches/myproject/BUGFIX_01


来源:https://stackoverflow.com/questions/7386141/how-do-i-dump-a-specific-subversion-path-from-a-berkeley-db

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