Handle changes in refs/meta

When there is a change for review in branch other than refs/heads/ or
refs/tags, they are presented with the refs/ prefix. This will cause
branch location recorded incorrectly during import.

Detect refs/ prefix instead of refs/heads prefix to fix this.
refs/tags should be okay as it is processed somewhere else.

Change-Id: I7a9b9a4f710398e52a89e21c64e76bcebaf3e1c6
Signed-off-by: Ardo Septama <aseptama@gmail.com>
1 file changed
tree: 60bca2cb952b1af90819f07f3eaa4243382414d2
  1. .settings/
  2. src/
  3. tools/
  4. .gitignore
  5. bazlets.bzl
  6. BUILD
  7. LICENSE
  8. README.md
  9. WORKSPACE
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.