Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Subversion: Get all files from a revision

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".

like image 436
Raja Avatar asked Feb 28 '23 15:02

Raja


1 Answers

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}'
like image 146
Raja Avatar answered Mar 05 '23 18:03

Raja