Update commits.rb

function names copyed from lib/scm/adapters/bzr/commits.rb