Just wanted to jot down a quick Subversion recipe. I’m doing a merge today, and I wanted to know which of the 25 folders on my branch actually changed. Here’s what I used to figure it out.

svn diff -r 4649:HEAD http://myserver/svn/branches/mybranch | grep "Index:" | sed -e "s/Index: ([^\/])\/./\1/" | sort -u

Downsides: If I’ve got a folder that has only directory structure changes, I won’t see them there.