How to get the revision history of a branch with bzrlib
- by David Planella
I'm trying to get a list of committers to a bzr branch. I know I can get it through the command line with something along these lines:
bzr log -n0 | grep committer | sed -e 's/^[[:space:]]*committer: //' | uniq
However, I'd like to get that list programmatically with bzrlib. After having looked at the bzrlib documentation, I can't manage to find out how I would even get the full list of revisions from my branch.
Any hints on how to get the full history of revisions from a branch with bzrlib, or ultimately, the list of committers?