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

Exception for certain bad URLs passed to Repository Browser

From: Ryan J Ollos <ryano_at_physiosonics.com>
Date: Wed, 10 Aug 2011 13:28:26 -0700 (PDT)

This might fall under the category of plain incorrect usage, but since an
exception results I thought I'd report it.

When using the Repository Browser outside of a working copy:

(A) If I enter a bad URL, such as `http://trac-hack.org/svn`, after a little
while the Repository Browser displays "Unable to connect ...", which is what
I expect.

(B) If I omit the protocol `http://` from the URL and enter
`trac-hacks.org/svn`, I get an exception [1]. After dismissing the exception
dialog, an error is shown in the Repository Browser as I would expect [2].

From what I've seen so far, as long as the URL contains 2 characters plus a
colon, the behavior seems to be okay and you get a message in the Repository
Browser rather than an exception. For example, try `http:trac-hacks.org/svn`
or `ff:ABC` [3].

The exception in (B) seems undesirable and more desirable would be to have
behavior like in (A). Many users might think they can omit the http:// from
their URL, as most browsers allow.

http://old.nabble.com/file/p32237396/SubversionError.png SubversionError.png

http://old.nabble.com/file/p32237396/ReposBrowser.png ReposBrowser.png

http://old.nabble.com/file/p32237396/BadURL.png BadURL.png

View this message in context: http://old.nabble.com/Exception-for-certain-bad-URLs-passed-to-Repository-Browser-tp32237396p32237396.html
Sent from the tortoisesvn - dev mailing list archive at Nabble.com.
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-08-10 22:28:29 CEST

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