Evgeny
Evgeny

Reputation: 2161

SVN - get a part of the revision

I'm looking for a way to get all files of some type (e.g. all .java files) from a repository, without downloading all of the files (so it can be fast). How can it be done?

Upvotes: 1

Views: 61

Answers (2)

Edwin Buck
Edwin Buck

Reputation: 70929

If you can identify a common subdirectory, why not just checkout that sub-directory?

Upvotes: 0

Hauke Ingmar Schmidt
Hauke Ingmar Schmidt

Reputation: 11607

You could write a small shell script that parses the output of svn list -R $URL and exports only the relevant files with svn export $URL+PATH+FILENAME.

Upvotes: 1

Related Questions