Cambiare l'url SVN di una Working Copy
Jump to navigation
Jump to search
Se cambia l'url di una working copy, viene cambiato il nome del server, o la directory, bisogna fare un relocate:
My best way to do an SVN relocation is this:
svn switch --relocate $(svn info | grep ^URL | cut -f 2 --delim=' ') \
new_url_or_repository
In this way, using the right old url from the svn info command, you are sure to not enter a wrong one, which is one of the common erros.
If everything is correct, you will be prompted with the auth details for the new location, if they are different.
After issuing the command, be sure to double check that the change has been applied looking at the URL parameter, issuing
svn info
After relocating, update your working copy, to check that everything is ok:
svn update