Survival guide / #3787

Ok, I'll do the change on January 17th early in morning (say 1:00am).

With the correct switch procedure described below, you won't lose any local modification in your working folder.

If you use TortoiseSVN

  1. right-click on the folder that contains all Streber files and select "Switch. You should see a dialog with the following URL:
https://streber.svn.sourceforge.net/svnroot/streber
  1. Change the URL to
https://streber.svn.sourceforge.net/svnroot/streber/trunk
  1. Press Ok.

If you use command-line Subversion

  1. open a command prompt in the folder that contains all Streber files
  2. issue the command
svn switch https://streber.svn.sourceforge.net/svnroot/streber/trunk

Things that may go wrong

  • if you issue the switch command too early: no problem, it will fail gracefully with a "Target path does not exist" message;
  • if you forget to do the switch and issue a commit after the move: no problem, the commit will fail with a "File not found" message;
  • if you forget to do the switch and request an update after the move:
    • if you didn't make local modifications: svn will create a new folder "trunk" and move everything into it
    • if you made local modifications: this case is a bit more problematic, but don't panic, nothing will be lost. Svn will create a new folder "trunk" and get a new head copy of Streber into it. All files that were not modified will be removed. All files with local modification will remain in their place but will be "disconnected" from svn. In order to clean things up you have to manually copy them in the right place. Warning: you also have manually take care of conflicts in case someone else has also modified the file. Be careful.