Subversion switch problem
Thursday, April 19th, 2007This week I ran into a Subversion switch problem. If you don’t know about Subversion and switch, skip this post:).
My situation: i ran Subversion on a windows machine for testing and was fiddling with the switch statement:
svn switch file:///c:/myrep/mybranch
Subversion gave me an error:
svn: ‘file:///c:/myrep/mybranch/
is not the same repository as
‘file:///C:/myrep’
If I set an environment variable %REP% = file:///c:/myrep/ and use svn switch %REP%/mybranch, everything works fine. I don’t have a clue how or why, but this does seem to fix it.