简体   繁体   中英

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

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}'

通过例如:

svn diff -r 1048:1049 --summarize

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM