[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Subversion 1.7 libs now handle Redirect (http error 301), this breaks Tortoise 1.7.4.22459 repro browser

From: Ken DeJager <kdejager_at_hotmail.com>
Date: Fri, 10 Feb 2012 19:52:17 +0000

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:
 
http://localhost/svn/good_path
+ Branches
- bad_path_301 (line is selected)
   + Branches
   + Tags
   + Trunk
+ Tags
+ Trunk
 
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.)
 
Thanks,
Ken Dejager

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2920723

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-02-10 21:13:42 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.