Skip to content

Instantly share code, notes, and snippets.

@simonc
Created October 14, 2009 19:21
Show Gist options
  • Save simonc/210335 to your computer and use it in GitHub Desktop.
Save simonc/210335 to your computer and use it in GitHub Desktop.
Call svn log for a specific user
#!/usr/bin/env bash
username=$1
options=$2
list=''
for r in `svn log | grep $username | sed 's/r\([0-9]\+\).*/\1/'`; do
list="$list -r$r"
done
svn log $list $options
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment