2

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

Sam
  • 23
  • 3

1 Answers1

2
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
Peter Parker
  • 29,093
  • 5
  • 52
  • 80