Jump to content
Sign in to follow this  
dschmerlaib

Git duplicate advertisements

Recommended Posts

Hi I am getting the following message 

git://<server>/<Repository>: duplicate advertisements of refs/heads/main-integration-CI-WOM-2296

Whiich is not a duplicate I can see in Plastic however in the location identified by storage.baseDirectory entry in  the gitserver.conf  in one of the reference.mapping.conf files I can see 

466079:0:main-integration-CI-WOM-2296
466184:0:main-integration-CI-WOM-2309
466214:0:main-integration-CI-WOM-2311
466306:0:main-integration-CI-WOM-2283
466307:0:main-integration-CI-WOM-2296

 

Which seems to indicate there is a duplicate what can I do to fixe/rename the branch ?

I Reviewed the topic below and did not get a resolution from there ? What happens if I change the storage.baseDirectory entry in  the gitserver.conf ? Will that recreate the mappings ? 

Also I note from https://www.plasticscm.com/documentation/gitserver/plastic-scm-version-control-gitserver-guide#RecreatingtheGitServermappingsfolder the warning but how do I recreate the mappings ?

 

Thanks Dieter

 

Share this post


Link to post
Share on other sites

Hi,

- If you remove the mappings (or change the storage base directory) the mappings will be fully re-created. If you do that, you will need to re-create the git repos to sync. Please more details at:  https://www.plasticscm.com/documentation/gitserver/plastic-scm-version-control-gitserver-guide#RecreatingtheGitServermappingsfolder

 

- Also, the git server feature doesn't support re-writing the repo history. If you are using it, avoid renaming branches, rebase, merge fast-forward...

https://www.plasticscm.com/documentation/gitserver/plastic-scm-version-control-gitserver-guide#Avoidfast-forward,rebaseanddeletingGitcommits

 

Regards,

Carlos.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×