If the repository URL changes, you need to move your working copy. The switch command is used to change the branching of your working copy points. The concepts themselves are perfectly clear.
But you are talking about a project , and I think that the problem you are facing: you will not find references to projects in the Subversion documentation, because this is not the concept of Subversion.
There are two main ways to implement projects in Subversion:
So, when you say “rename the project”, you mean either “rename the repository” (# 1) or “rename the branch” (# 2), and the solution:
svn relocate
to link your working copy to the repository- Either
svn update
to make changes to the working copy (if this change is in the working copy directory tree) or svn switch
to change the branch of your working copy of points (if you deleted the current branch efficiently).
Update . My advice so far is that you start from scratch. Rename your current working copy, check out the new one, and reinsert the pending changes using a regular file comparison tool such as WinMerge or Kdiff3 (or TortoiseMerge). There is no use trying to figure out what exact changes you made if they are not obvious from the magazine.
In the future ... You do not need to study the full Subversion book, but you should become familiar with the basic concepts, especially. when they turned out to be a problem in your daily work.
source share