Subversion: Check out only those files affected during a specific commit

Adam Paynter picture Adam Paynter · Jun 9, 2009 · Viewed 13.8k times · Source

In Subversion, is it possible to check out only those files affected during a specific commit, provided you know the specific revision number?

Answer

mikej picture mikej · Jun 9, 2009

I think that a Subversion check out can only check out a specific folder and not individual files. That said, the command:

svn log -r *revision* -q -v

will list the changes associated with the specified revision so you could process the output of this command to help copy the desired files to somewhere after checking out a working folder for the full directory.