You will need a command line SVN tool for this to work, for example, SlikSVN.
Install it on your machine and configure environment:path to point to its binaries.
Then use below Powershell script (I called it Get-SvnLog.ps1
):
|
|
Like the following:
|
|
It needs to be executed under a versioned folder, and it will output a log for that folder.
The key part here is svn log -v --xml
, which gives you an XML file representation of the SVN log.
Rest is parsing that XML into a list of Powershell objects, then pipelined with Export-Csv
.
If being inside a folder in question is unproductive, you can add $path parameter to the script and then change the call to: svn log -v --xml $path
.