Add revert procedure if rename was not successful

RenameProject:
- Revert will rollback steps that were successfully executed up until
  exception is thrown.
CacheRenameHandler:
- Change update() function signature to handle revert operation.
RenameProjectTest:
- Test that revert functionality according to performed steps.

Bug: Issue 11734
Change-Id: I5410e81ad062cd323e1a14ef0bd8cdd3514e2b51
4 files changed
tree: db8bc7326c631324d9137b00f9924d7e401a421c
  1. .settings/
  2. src/
  3. tools/
  4. .bazelignore
  5. .bazelrc
  6. .bazelversion
  7. .gitignore
  8. bazlets.bzl
  9. BUILD
  10. external_plugin_deps.bzl
  11. LICENSE
  12. README.md
  13. WORKSPACE
README.md

Rename project plugin for Gerrit Code Review

This plugin currently supports Gerrit version 2.14.X and 2.15.X with changes in reviewDb. Also supported is the noteDb alternative for Gerrit versions 2.15.X and above.

For more information, see: src/main/resources/Documentation/about.md