Hello.
I want to split one super-project with multiple branches into multiple projects with one main branch:
super-project (branch-a, branch-b) -> project-a (main) + project-b (main), where branch-a at super-project == main at project-a and branch-b at super-project == main at project-b
I have a single Gerrit instance with NoteDb backend. I want to save the whole change history with the same change numbers but altered branches and projects. Changes must not be duplicated.
The solution I see is:
1. Stop Gerrit,
2. Initialize a new project-a.git bare repo in Gerrit's git directory,
3. Push refs/meta/config at super-project to refs/meta/config at project-a as is,
4. Push refs/heads/branch-a at super-project to refs/heads/branch-a at project-a as is,
--
Cheers,
Daniil Gankov
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/repo-discuss/6f1558df-76ab-47ca-a0e2-7a754303ba0dn%40googlegroups.com.