Jump to content

Gitsync submodule configuration


freeman42x

Recommended Posts

I tried following the instructions here to configure Plastic SCM submodule:

https://www.plasticscm.com/documentation/gitsync/plastic-scm-version-control-gitsync-guide.shtml#MappingPlasticSCMXlinksandGitsubmodules

But when doing the git sync it throws the following error:

Quote

The equivalent of Git repository for './../gradle-helpers' has not been defined. The xlink cannot be pushed. Please add the equivalence inside the submodules section in the configuration file.

'C:\Users\PC118\AppData\Local\plastic4\gitsync.conf'

I tried various things in `gitsync.conf` but nothing worked:

Quote
[submodules]
git@eng.whatclinic.com:src/gradle-helpers -> iis/gradle-helpers@ssl://pc111:8088 writable:true relativeserver:true
git@eng.whatclinic.com:src/gradle-helpers -> gradle-helpers@ssl://pc111:8088 writable:true relativeserver:true

.gitmodules content:

Quote

[submodule "gradle-helpers"]
    path = gradle-helpers
    url = git@git.whatclinic.net:src/gradle-helpers

First I synced the `gradle-helpers` repository associated to the submodule - and that works fine. When trying to sync the main repository it fails with the above error.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...