How do you edit/remove a source control repository?

charlesgibisser
Tera Contributor

ctomasi

I have a scoped application in Helsinki that has been linked to a source control repository.   How would I go about editing the repository url to a different repo or remove the link to source control completely?

Thanks,

Charles

1 ACCEPTED SOLUTION

Charles / Chuck:



So, I found something very interesting.   There appears to be a deliberate out-of-the-box method for doing this.   Just not through the Studio!   I went ahead and wrote it up as an article.



Mini-Lab: Re-pointing a Repository URL For the Studio IDE



Steven.


View solution in original post

18 REPLIES 18

Definitely. I had to do this recently.


Hi @Chuck Tomasi  We have a big problem in Studio.

If I have some app linked to a source control and someone click in "Publish..." even if it not conclued, the system changes repo URL and so, future commits won't work, even if the URL in Souce Control menu is correct.

The repo cannot be accessed. Check URL, username, and password, and confirm user has read, write, and create branch access:
com.glide.sourcecontrol.SourceControlException: org.eclipse.jgit.errors.
RepositoryNotFoundException: repository not found: /glide/nodes/{instance_name}013_16023/webapps/glide/itil/WEB-INF/update/git/f17f67c31b55d1143b550fe1f54bcb8c:
com.glide.sourcecontrol.AGitRepository.loadGit(AGitRepository.java:232)

 

Yes and that is the point of being able to change the repo url. You have to go outside studio to do it, but you can do it. 

Hello Chuck, I just tried to delete the entry from "sys_repo_config" and the Application is de-linked from the Source. Just wanted to re-confirm if there is any other implications by doing so? But that trick worked for me to change my repository URL.  

Greg45
Tera Contributor

Go to: sys_repo_config.list and delete the repository, and then you can re-link to source control.