SVN export with change history problem

I need to provide our customers with a dump of one subdirectory in our SVN repository along with revision history, if possible. I know that you can dump, but I do not believe that you can tell it to isolate one subdirectory in a repo. If I export, I get only a head or one audit, this is not what I need. In any case, to achieve this, or is it simply not supported?

Edit:

I need the whole history of changes and changes in each file.

Edit:

The rmeador solution seems to work with one caveat. I received a cryptic error about a revision or the file does not exist when I execute the load command in an empty repo. svnadmin load seems to be confused because the creation of the trunk directory was filtered by svndumpfilter. Therefore, the creation of "trunk / MySubDirecory" fails. Doing svn add / commit manually for "trunk" on the target empty repo, and then doing "download svnadmin" solved this problem.

+4
source share
2 answers

You can filter the dump file for only one subdirectory using svndumpfilter . Such a dump file can be uploaded to a new repository, and it will work fine, as if the repo was always that directory.

+4
source

I found this while searching for the answer above

http://daveharris.wordpress.com/2008/08/05/svn-dump-parts-of-a-repository/

Hope this helps someone.

0
source

All Articles