roll_util: Update to support rolls of rebases

Update roll_util, submodule_roller, and repo_roller to work when the
pinned repository has been rebased. This happens occasionally with
dogfood branches on some projects. In those cases we can't find the
commits between the previous pinned version and the version we're
updating to, so we just grab the top five commits on the branch and list
them.

Change-Id: Ib237109acccb88f823a15602d88cd0a622a8ff1d
Reviewed-on: https://pigweed-review.googlesource.com/c/infra/recipes/+/25025
Pigweed-Auto-Submit: Rob Mohr <mohrr@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Reviewed-by: Oliver Newman <olivernewman@google.com>
20 files changed
tree: c0ad2964653a7bab53b34628703e2183b12e7372
  1. infra/
  2. recipe_modules/
  3. recipes/
  4. .gitignore
  5. .style.yapf
  6. recipes.py