A user wants to change the repo listed in UC_CLIENT_SETTINGS -> REMOTE_REPOSITORY_URL however, despite changing the URL, the REST process shows that it is still connecting to the old repo.
20240606/081506.264 - 43 U00045015 The previous error was caused by 'org.eclipse.jgit.api.errors.InvalidRemoteException: "Invalid remote: origin"' at 'org.eclipse.jgit.api.FetchCommand.call():221'.
20240606/081506.264 - 43 U00045015 The previous error was caused by 'org.eclipse.jgit.errors.NoRemoteRepositoryException: "[email protected]:automic/automic.git: ERROR: Repository not found.
20240606/081506.264 - 43 "' at 'org.eclipse.jgit.transport.TransportGitSsh.cleanNotFound():201'.
20240606/081506.264 - 43 U00003620 Routine 'com.automic.rest.provider.BaseExceptionMapper' forces trace because of error.
Only a branch switch is possible within the same repo. This is only possible through a manual clean-up & reinitialization. The UC_REPO table links the client with the branch name and the commit (often a hash) — that is repo_version column in the table.
In order to re-initialize the version control you would have to: