How to change SVN url for commit?

I was able to somehow change the remote SVN repository URL. Thus, Idea / svn is now trying to transfer my project to the root of the repository, and not to the subfolder to which I actually have write access. How can i change this? (The url was originally correct and was previously correct for the commit)

+7
source share
2 answers

The repository URL is stored in the working copy metadata; IDEA does not change it automatically. You can change it manually from IntelliJ IDEA using VCS | Subversion | To move .

It can also be executed from the command line using svn relocate or the Tortoise SVN Relocate... menu.

+16
source

If your project is not stored in the root directory of your repository (for example: my-svn-repo/my-project/trunk ) and, for example, you renamed my-project to my-awesome-project , then the Relocate function will not work, because this is due to the repository, not its subfolders. In this case, you will need to do a โ€œSwitchโ€ using:

  • IntelliJ Idea: VCS> Update Project> Select a new renamed folder or
  • Tortoise SVN: Switch> Select New Folder
+1
source

All Articles