Handle changes with non-existing current revision

We have a few changes that have a current revision that does not match
the revision of any of the patch sets in the change. This is a data
inconsistency and as result the import of such a change fails. Be more
tolerant, log a warning and use the last revision as current patch
set in this case so that this import is not failing.

Change-Id: Ifda86d116d1147362d7b3312d0e11e7a2bd54cc1
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
1 file changed
tree: 34c3401b433ddd53d342b7e8b2cbaac835ae7e53
  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.