Hi Sven,Thanks for the info!I tried the following approach before I saw your reply.git clone --mirror <client gerrit>git push --mirror <my gerrit> -o notedb=allow
Gerrit stop , reindex, Gerrit startI was able to push everything including the refs/changes to my Gerrit.But here is the problem that I faced:Let's say the change was in Open state on Client Gerrit when I initially copied it to my Gerrit using above command. On my Gerrit this change is in Open state.After that the client submits that Change and now, I want to bring this new updated Change again.If I do git fetch --all <client gerrit> and do a push again to my Gerrit it says "(Cannot create ref 'refs/changes/xxxxxxx' because it already exists.)" which is understandable.
Is it not possible to just update refs/changes?Is there any workaround on this?
On Tuesday, January 28, 2025 at 1:08:26 PM UTC+1 ishan badgainya wrote:Hi Sven,Thanks for the info!I tried the following approach before I saw your reply.git clone --mirror <client gerrit>git push --mirror <my gerrit> -o notedb=allow
Gerrit stop , reindex, Gerrit startI was able to push everything including the refs/changes to my Gerrit.But here is the problem that I faced:Let's say the change was in Open state on Client Gerrit when I initially copied it to my Gerrit using above command. On my Gerrit this change is in Open state.After that the client submits that Change and now, I want to bring this new updated Change again.
Hi Daniele,I understand your point.But our use case is very specific.What we do is copy code from our client's Gerrit server to our Gerrit server. We can sync the code but cannot bring the Merge request entries.We don't have access to our Client's Gerrit server to install the pull replication plugin.
Hi,
please use interleaved posting style[1] when using this mailing list.
[1] https://en.wikipedia.org/wiki/Posting_style#Interleaved_styleOn Friday, 31 January 2025 at 13:31:04 UTC ish...@kpit.com wrote:Hi Daniele,I understand your point.But our use case is very specific.What we do is copy code from our client's Gerrit server to our Gerrit server. We can sync the code but cannot bring the Merge request entries.We don't have access to our Client's Gerrit server to install the pull replication plugin.