I keep forgetting this snippet, and then spend hours re-discovering/re-inventing it. So for the record: Here’s a bit of magic to let you filter your Subversion (SVN) logs by date and author:
svn log -vr {20091014}:"HEAD" | sed -n "/nealenssle/,/-----$/ p"
I use it in a bash shell script function that I’ve got in my .bash_profile script like so:
function svnlog {
svn log -vr {$1}:"HEAD" | sed -n "/$2/,/-----$/ p"
}
And then call it like so:
svnlog 20091014 nealenssle
Happy spelunking!
Posted: October 14th, 2009 by Neal Enssle
Tags: code, programming, scm, subversion, tools
No Comments »
Yesterday Jake and I enjoyed attending Developer Day at the TechStars facility in downtown Boulder.
Highlights included meeting Chad Fowler, author of one of my new favorite books The Passionate Programmer. It turns out Chad and I are, literally, neighbors. His house in Longmont is just a few blocks away from my own.
Another interesting moment was hearing Bruce Eckel, author of Thinking in Java, express his belief that “Java is likely going to become a legacy language.” Also a bit surprising to me (though I’m sure it’s old news) was his deep love of Python — a language free from the design constraints of backward compatibility that have plagued C++ and Java. Yet another reason that Python’s next on my list of “languages to learn”.
Posted: October 11th, 2009 by Neal Enssle
Tags: better, conferences, people, programming
No Comments »