A bad branch name causes Hg scanning to stop. Solution is to be more defensive when getting list of commits for a branch.