Fix branch switching in the commits list

The correct way to fix this may instead be to change the name of the
ref_commits view to commits, and rename commits to something else, or
else remove that view altogether.
Fix regex to filter svn info from messages

This regex which is likely there to remove svn information from git
messages is too general and matches things it shouldn't. This is a tiny
tweak to make it behave better, but it likely needs to be completely
redone to be much more narrow.