Do not skip changes without current revision

If the current revision of a change is a draft patch set and the
querying user cannot see the draft patch set, then the
'current_revision' field in the ChangeInfo is not set. At the moment
we skip such changes, which is bad. Instead use the last revision as
current patch set in this case and log a warning.

Change-Id: I480d70e99079d4edd5ab1b101392d8bc65c3b726
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
2 files changed
tree: 2e1a6a31f8c9d196715020f3c6c6e5feb75d6fb5
  1. .settings/
  2. lib/
  3. src/
  4. .buckconfig
  5. .gitignore
  6. BUCK
  7. LICENSE
  8. pom.xml
  9. README.md
  10. VERSION
README.md

Importer - Gerrit Plugin to import projects

The importer plugin allows to import projects from one Gerrit server into another Gerrit server.

Projects can be imported while both source and target Gerrit server are online. There is no downtime required.

The git repository and all changes of the project, including approvals and review comments, are imported. Historic timestamps are preserved.

Project imports can be resumed. This means a project team can continue to work in the source system while the import to the target system is done. By resuming the import the project in the target system can be updated with the missing delta.

The importer plugin can also be used to copy a project within one Gerrit server, and in combination with the delete-project plugin it can be used to rename a project.