rcaputo / snerp-vortex

A subversion repository exporter.
15 stars 3 forks source link

add a way to export only particular paths #7

Closed rcaputo closed 14 years ago

rcaputo commented 14 years ago

Some times you only want to export a particular path in a large repository. For example, a particular project from a multi-project repository. It's time to consider supporting that, with the usual caveats. The biggest caveat being that moving files into the exported path will break the export.

For example, if you export /project-foo/trunk. This would fail if someone had done "svn cp /project-bar/trunk/Makefile /project-foo/trunk".

It may be possible to follow the directed graph of copies back to their sources and include just the necessary bits of external projects to maintain a full history. However, this may be more work than it's worth. Depending on the repository, it may be better to export everything and reorganize the files in git.

It should be very convenient and fast for the simpler case, however.

rcaputo commented 14 years ago

Applied cycles' patch to implement this feature.