dschmerlaib Posted January 31, 2019 Report Share Posted January 31, 2019 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 Link to comment Share on other sites More sharing options...
calbzam Posted January 31, 2019 Report Share Posted January 31, 2019 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.