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

Re: TortoiseSVN revision 24088 exception

From: Ben Fritz <fritzophrenic_at_gmail.com>
Date: Mon, 8 Apr 2013 23:31:53 -0500

On Mon, Apr 8, 2013 at 2:40 PM, Echlin, Robert
<Robert.Echlin_at_windriver.com> wrote:
> Hi Ben,
> You said:
> "
> 4. I replaced the absolute URL of the trunk like http://example.com/repo/some/repo/paths/Proj1/trunk with the shortened path /some/repo/paths/Proj1/branches/mybranch
> "
>
> Maybe you shouldn't be putting a relative path in here, as it expects an absolute URL?
> Or were you saying that you replaced one absolute URL with another, shorter, absolute URL, but only typed it in the email as a relative URL?
>

Oh yeah, I know it was user error that led to the exception. I
actually copy-pasted from the "Switch" dialog, I think. But I would
expect a more accessible error message in that case, and a clean break
instead of bringing up an empty log dialog, if it's not going to work.
Something like "Full path to repository required" instead of a very
technical uncaught exception message. Even better would be to disable
the buttons on the dialog which depend on the URL until there is a
valid URL entered. Exceptions with code line numbers should mostly
only happen in very unexpected situations. I fixed it by prepending
the http:// stuff like I should have to begin with, but the exception
message was surprising, and it says right in the message to post here.

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-04-09 06:32:20 CEST

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.