Subversion: Get all files from a revision

Raja picture Raja · Jun 10, 2009 · Viewed 13.8k times · Source

How do I export/get all the files belonging to a revision?

For example:
On revision 5434 if we have commited 5 files, how do I get all the 5 files on the specified revision?

Something like svn export with revision number, but I only want the files that I commited on that revision.

Edit:

Duplicate of "Subversion: Check out only those files affected during a specific commit".

Answer

Raja picture Raja · Jun 16, 2009

I ended up with writing a small PHP script to get the files and export them.

I got the file list with the command

svn log /home/raja/coderepo/ -qv -r12423 | awk '/\//{print $2}'