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).
even better... but doesnt svnlook only work on the system where the repository is housed physically?
prodigitalson
2010-10-13 18:11:09
@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
2010-10-13 18:19:18
+4
A:
svn log -v -r THE_REV_NUMBER
will get you the log comment plus all the changed paths in the revision.
prodigitalson
2010-10-13 18:09:15
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
2010-10-13 18:15:21
+2
A:
I use
svn diff --revision 1:2 --summarize
Which produces a flat list of files added/modified/deleted
Amasuriel
2010-10-13 18:50:40
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
2010-10-13 19:06:31