What kind of SVN command can I run that will get me a list of files changed since a certain date?
Right now I have it as
svn log <url> -r {2010-11-01}:{2011-05-04} > log.txt
That almost work, but it only shows the revisions and comments but not the files list.
The solution here is to either update your working copy or explicitly provide a revision number to svn log by using the --revision ( -r ) option. svn log also takes a --quiet ( -q ) option, which suppresses the body of the log message. When combined with --verbose ( -v ), it gives just the names of the changed files.
To find information about the history of a file or directory, use the svn log command. svn log will provide you with a record of who made changes to a file or directory, at what revision it changed, the time and date of that revision, and, if it was provided, the log message that accompanied the commit.
You can simply click on one revision, then ctrl-click on the other revision (so the two are selected), then rt-click on either one, do "Compare revisions". This WILL show all changes between those two revisions, including changes made in any intervening revision.
On the file, simply right-click => Team => Switch to another branch/tag/revision. Besides the revision field, you click select, and you'll see all the versions of that file.
Add the --verbose
(or -v
) flag and you'll get a list of all affected paths as well as the log messages. If you want to get rid of the messages, add the --quiet
(or -q
) flag. So:
svn log <url> -qv -r {2010-11-01}:{2011-05-04} > log.txt
If you just want each changed file printed once (rather than for each revision in which it was changed), you could also do:
svn diff <url> --summarize -r {2010-11-01}:{2011-05-04} > log.txt
With --verbose, svn log will also print all affected paths with each log message.
http://svnbook.red-bean.com/en/1.5/svn.ref.svn.c.log.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With