Changing Repo for Versioned Settings
I'm using git for my versioned settings and because we're moving our git repos around, I need to change the URL of the git repo that holds the versioned settings. That value is a VCS root in the versioned settings I'm trying to change.
Will it be sufficient for me to make sure both new repository has the the right URL (its own url) for the VCS root, first, and then change and push the value in the OLD git repo? The rest of my move (including updating the VCS roots from which I'm actually doing builds) is going to be relatively painless and obvious. This strikes me as potentially problematic.
Please sign in to leave a comment.
Hi Adam,
that's an interesting situation. Your assumption should be correct, and the recommendation in this case is to make sure that both repos have the same commit history to ensure that TeamCity is able to track the changes on the new repository as part of the same commit history and not an entirely different one.
I'd recommend running a test in a test server or environment if you are worried about the possible consequences, but that should be more than enough.