RenameCommand: use ProjectState instead of String project name

To avoid having NullPointerException when non-existing project is
provided through ssh command, old project name is passed as old project
state instead of project name.

This solution is based on how delete-project handles the same problem.

Change-Id: I906c112ed2481fdb65c5714f0640fc2af51b2ec0
1 file changed
tree: 2a17960ed3859e94a68aa92f71d03c5daa0b794a
  1. .settings/
  2. src/
  3. tools/
  4. .bazelignore
  5. .bazelrc
  6. .bazelversion
  7. .gitignore
  8. bazlets.bzl
  9. BUILD
  10. external_plugin_deps.bzl

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/