tags:

views:

31

answers:

3

I am trying to find a way to export a list of file names in a given changeset. I can access the info in TortoiseSVN very easily using the Log Messages. But I need to record which files have changed in a separate CM tool (not by choice).

+2  A: 
svnlook changed <repository-path> -r <revision>
usta
even better... but doesnt svnlook only work on the system where the repository is housed physically?
prodigitalson
@prodigitalson: I think so, as it takes a repository path instead of URL. So svnlook might not be an option in some cases. As I do have physical access to the machine the repository is located on, svnlook is what I use in my scripts, so that's what immediately came to my mind :)
usta
+4  A: 

svn log -v -r THE_REV_NUMBER will get you the log comment plus all the changed paths in the revision.

prodigitalson
Let me thank you for this as a passer-by, having to work with this disastrous version 'corruption' software at work I'm glad to get such snippets of information which may aid ease of use.
Mr. Disappointment
That is perfect
nolan
+2  A: 

I use

svn diff --revision 1:2 --summarize

Which produces a flat list of files added/modified/deleted

Amasuriel
Ooooh... thanks for that. i had no idea as i rarely use the diff commands directly.. it does take a bit longer than `log` but you dont have to scan for the "Changed Paths" if youre scripting since its a flat list.
prodigitalson
This is ever better for my needs. Thanks
nolan