You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by David Faure <fa...@kde.org> on 2005/06/01 15:24:16 UTC

Re: Minor buglet: confusing error message

On Sunday 01 May 2005 13:10, Jeff Squyres wrote:
> svn: Cannot replace a directory from within
> 
> This is somewhat confusing -- it doesn't give any indication that the 
> URL corresponding to your working directory no longer exists.

I would like to second this request. svn has several very confusing error messages,
and this is the top one. It should say "no such URL" instead.
It's quite common to make a typo in an svn switch statement, and "no such URL"
would be a much better error message than "Cannot replace a directory from within"
(which looks at first sight like some svn limitation...)

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Minor buglet: confusing error message

Posted by David Faure <fa...@kde.org>.
On Friday 17 June 2005 20:57, Ben Collins-Sussman wrote:
> 
> On Jun 17, 2005, at 1:35 PM, David Faure wrote:
> 
> > On Wednesday 01 June 2005 17:24, David Faure wrote:
> >
> >> On Sunday 01 May 2005 13:10, Jeff Squyres wrote:
> >>
> >>> svn: Cannot replace a directory from within
> >>>
> >>> This is somewhat confusing -- it doesn't give any indication that  
> >>> the
> >>> URL corresponding to your working directory no longer exists.
> >>>
> >>
> >> I would like to second this request. svn has several very  
> >> confusing error messages,
> >> and this is the top one. It should say "no such URL" instead.
> >> It's quite common to make a typo in an svn switch statement, and  
> >> "no such URL"
> >> would be a much better error message than "Cannot replace a  
> >> directory from within"
> >> (which looks at first sight like some svn limitation...)
> >>
> >
> > No reply - should I file a bug report about this?
> >
> 
> Sure, add it to issue 1254.
 
Good one ;)
That issue says "PLEASE DON'T ADD MORE ERROR MESSAGES TO THIS LIST",
and I agree with that. As a (kde) developer, I know how "all issues in one report"
is a very bad idea, since the developers can never truly consider the bug fixed
given how many facets it has. IMHO there should be a separate issue for
each bad error message, so that they can be investigated and fixed separately
(they are about different parts of the code after all).
"Cannot replace directory from within" should be an issue of its own.

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Minor buglet: confusing error message

Posted by Ben Collins-Sussman <su...@collab.net>.
On Jun 17, 2005, at 1:35 PM, David Faure wrote:

> On Wednesday 01 June 2005 17:24, David Faure wrote:
>
>> On Sunday 01 May 2005 13:10, Jeff Squyres wrote:
>>
>>> svn: Cannot replace a directory from within
>>>
>>> This is somewhat confusing -- it doesn't give any indication that  
>>> the
>>> URL corresponding to your working directory no longer exists.
>>>
>>
>> I would like to second this request. svn has several very  
>> confusing error messages,
>> and this is the top one. It should say "no such URL" instead.
>> It's quite common to make a typo in an svn switch statement, and  
>> "no such URL"
>> would be a much better error message than "Cannot replace a  
>> directory from within"
>> (which looks at first sight like some svn limitation...)
>>
>
> No reply - should I file a bug report about this?
>

Sure, add it to issue 1254.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Minor buglet: confusing error message

Posted by David Faure <fa...@kde.org>.
On Wednesday 01 June 2005 17:24, David Faure wrote:
> On Sunday 01 May 2005 13:10, Jeff Squyres wrote:
> > svn: Cannot replace a directory from within
> > 
> > This is somewhat confusing -- it doesn't give any indication that the 
> > URL corresponding to your working directory no longer exists.
> 
> I would like to second this request. svn has several very confusing error messages,
> and this is the top one. It should say "no such URL" instead.
> It's quite common to make a typo in an svn switch statement, and "no such URL"
> would be a much better error message than "Cannot replace a directory from within"
> (which looks at first sight like some svn limitation...)

No reply - should I file a bug report about this?

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org