Update project state to READ_ONLY before starting the rename operation

This appears to have been the original intent [1], but the `.lock()`
method was never called during rename.

[1] https://gerrit.googlesource.com/plugins/rename-project/+/7220f19c288e4c329f010bbc12bad76187f604cd/src/main/java/com/googlesource/gerrit/plugins/renameproject/LockUnlockProject.java#45

Change-Id: Ie1694eb5729174d7ec616e131d00d66cc1f1684b
4 files changed
tree: c30a7fe1e7f514cccc2c524736d2827c973de64b
  1. .settings/
  2. src/
  3. tools/
  4. .bazelignore
  5. .bazelrc
  6. .bazelversion
  7. .gitignore
  8. bazlets.bzl
  9. BUILD
  10. 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