This utility was very useful tonight. I wanted to find what revision a certain line was removed from a file in the core WordPress SVN repository. It took a relatively long time to run (15 mins or so), but I’m guessing that’s because it was searching through nearly 6,000 revisions to the repository.
It’s such a handy script because it outputs what revision the line was added, but also when it was removed.
Here’s how I used it:
$ cd wp-includes;
$ python blameall.py -r 17201:HEAD media.php
Many props to Ned Batchelder
Also handy – using GitHub for traditional blame output:
https://github.com/WordPress/WordPress/blame/master/wp-includes/media.php
Spot on, they’ve got a great blame UI for seeing when a line was added/edited; just not removed (as far as I can tell). Thanks!