Reputation: 97
Is there any way in SVN so that when viewing the log, the checkins done by a particular user should not be visible.
Here is why this is required We are using continuous build server team city, which does some checkins into svn repository during each build, and during various other events, the net effect is that if we view the svn log we see hundreds of checkins from TeamCity, because of this it becomes difficult to view checkins done by fellow developers.
Upvotes: 1
Views: 76
Reputation: 36688
As @JacobM said you need to filter the log output in some fashion. I have precisely the same need so, if you are on Windows, you can use Get-SvnLog
, a PowerShell cmdlet from my open-source library. Here is how I filter out check-ins from CruiseControl:
Get-SvnLog -ByFile | ? { $_.author -ne "cruisecontrol" } | ft -AutoSize
You can do a lot more with Get-SvnLog
-- to see the API go to my API Bookshelf and drill down to PowerShell, then SvnTools. The documentation currently has 16 examples illustrating how to:
You will also find there a download link for the code in the top menu bar.
Upvotes: 0
Reputation: 51052
No. But you can output the log in XML format (svn log --xml
) and then use any available scripting language (e.g. ruby with Nokogiri, Powershell, etc. ) to parse and filter the XML.
Upvotes: 1