How can I get statistics, how line count changed over time? I use bazaar for my project and it would be really nice to know, if I am refactoring code correctly.
There is also bzr-diffstat:
There is no built-in function for line count statistics.
But more importantly: to know if you're refactoring code correctly it is not count statistics you need but unit tests!
If you really want to know how line count changed over time, I think your best bet is write a simple Python program using
If you still need this and need a code sample, please leave a comment.