4

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

Community
  • 1
  • 1
Raja
  • 139
  • 1
  • 1
  • 7
  • 6
    Possible duplicate of http://stackoverflow.com/questions/971188/subversion-check-out-only-those-files-affected-during-a-specific-commit – Milen A. Radev Jun 10 '09 at 12:55
  • Yep, same question. Guess this can be closed. – sleske Jun 10 '09 at 13:13
  • This question is a specific variant of: http://stackoverflow.com/questions/427781/subversion-how-to-retrieve-files-changed-in-range-of-revisions – bendin Jun 16 '09 at 10:17

2 Answers2

6

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}'
Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Raja
  • 139
  • 1
  • 1
  • 7
2

By e.g:

svn diff -r 1048:1049 --summarize
stema
  • 90,351
  • 20
  • 107
  • 135
danielpopa
  • 810
  • 14
  • 27