What the heck have I done last week?

Every Wednesday we’ve got team meeting and I need to find out what the heck I was doing last week :). SVN Repository logs are very helpfull whith that concern. Here a little bash script that extracts the log entries of a given user for the last 7 days…


REPOS="TetraTrans Libraries IDDS IDDS2010"

for repo in $REPOS
	svn log $repo -r {`date --date="7 days ago" +%Y-%m-%d`}:{`date +%Y-%m-%d`} | sed -n "/"$MYSVNUSER"/,/-----$/ p"

Leave a Reply

Your email address will not be published. Required fields are marked *