(I don't really care if it's my fault but rather why things are happening, of course...)
I have a rails site in SVN on a remote server. On my local copy I do a switch (svn switch http://whatever/branch .), and then things are totally bizarre and the site doesn't work. I finally track it down and it turns out that part of the build (particularly, the app/config directory) is pointing to the wrong branch. Please note:
- I never switch using anything other than the SVN command line
- I only switch at the root of the installation
- I always switch as root (sudo -s) and I'm sure that the permissions were set correctly on the whole tree (chmod -R 777)
Any ideas on how part of the working directory could end up pointing to the wrong place? In my memory, this is not the first time that some sub of the working directory is pointing to the wrong place... why would this happen?