redirect cycle when checking out log4net

10 views
Skip to first unread message

Michael Richardson

unread,
Sep 21, 2012, 5:54:41 AM9/21/12
to us...@tortoisesvn.tigris.org
Hello,

I am trying to add https://svn.apache.org/viewvc/logging/log4net/tags/1.2.11 as an external to an existing project, however TortoiseSVN cannot do this (or check the repository out normally) because the web server at svn.apache.org redirects /viewvc/logging/log4net/tags/1.2.11 (*without* the / suffix) to /viewvc/logging/log4net/tags/1.2.11/

TortoiseSVN does not seem to append the forward slash and therefore a redirect cycle takes place. Even if I explicitly add the forward slash to the URL, TortoiseSVN strips it out.

The HTTP response from svn.apache.org is as follows:

------------------------------------

HTTP/1.1 301 Moved
Date: Fri, 21 Sep 2012 09:50:22 GMT
Server: Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/1.0.0c DAV/2 mod_wsgi/3.1 Python/2.6.6 SVN/1.7.0
Location: /viewvc/logging/log4net/tags/1.2.11/
Vary: Accept-Encoding
Content-Length: 81
Keep-Alive: timeout=15, max=1000
Connection: Keep-Alive
Content-Type: text/html; charset=UTF-8

This document is located <a href="/viewvc/logging/log4net/tags/1.2.11/">here</a>.

------------------------------------

I hope this information is enough to go on. If you require any more information please do not hesitate to ask.

(I've been using TortoiseSVN very happily for years and this is the first bug I've found!)

Thanks

Michael

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

To unsubscribe from this discussion, e-mail: [users-un...@tortoisesvn.tigris.org].

Andy Levy

unread,
Sep 21, 2012, 6:24:26 AM9/21/12
to us...@tortoisesvn.tigris.org
On Fri, Sep 21, 2012 at 5:54 AM, Michael Richardson
<michael_r...@shelter.org.uk> wrote:
> Hello,
>
> I am trying to add https://svn.apache.org/viewvc/logging/log4net/tags/1.2.11 as an external to an existing project, however TortoiseSVN cannot do this (or check the repository out normally) because the web server at svn.apache.org redirects /viewvc/logging/log4net/tags/1.2.11 (*without* the / suffix) to /viewvc/logging/log4net/tags/1.2.11/

That's not a valid repository URL. You're pointing to ViewVC, an
application on the server which is used to provide a richer view of
the repository.

According to http://logging.apache.org/log4net/source-repository.html
, you should be checking out from
https://svn.apache.org/repos/asf/logging/log4net/tags/1.2.11

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

Michael Richardson

unread,
Sep 21, 2012, 6:28:01 AM9/21/12
to us...@tortoisesvn.tigris.org
Ah, my mistake. Sorry to waste your time. Thanks for coming back so quickly also.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3007631
Reply all
Reply to author
Forward
0 new messages