Subversion 1.7.2 now handles the http redirect for a repository moved 'permanently'. It gives a message and redirects to the new URL, and longer reports error 301.
Svn's handling of redirect for a 'temporary' move is unchanged.
Tortoisesvn choses NOT to handle any redirects.
Unfortunately, svn 1.7's new behavior confuses Repository Browser, and a bogus folder appears. Example:
I have a repository at http://localhost/svn/good_path
My httpd.conf has these intra-server redirects:
Redirect permanent /svn/bad_path_301 /svn/good_path
Redirect temp /svn/bad_path_302 /svn/good_path
1. In Repository Browser, enter URL: http://localhost/svn/bad_path_302
Result is correct: "Unable to connect ... Repository moved temporarily to '//localhost/svn/good_path' (etc)".
2. In Repository Browser, enter URL: http://localhost/svn/bad_path_301
Expected behavior: "Unable to connect ... Repository moved permanently (etc)".
Incorrect result is:
- bad_path_301 (line is selected)
The 'bad_path_301' folder is incorrect and should not appear.
If I select any folder inside bad_path_301, such /bad_path_301/Branches, the other pane displays: "'C:\ ... \Temp' is not a working copy".
The other folders seem OK.
Tortoise should either surrender to svn and correctly support its silent redirect, or else detect the redirect and report an error. (I vote for the latter.)
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-02-10 21:13:42 CET