Re: enhancements for error reporting

2011-05-18 Thread Stefan Küng
On 18.05.2011 13:47, C. Michael Pilato wrote: On 05/18/2011 12:44 PM, Hyrum K Wright wrote: On Wed, May 18, 2011 at 11:17 AM, C. Michael Pilato wrote: On 05/18/2011 09:53 AM, Bert Huijben wrote: One obvious case is that libsvn_client sometimes suggests that you should do a 'svn something', wh

Re: enhancements for error reporting

2011-05-18 Thread C. Michael Pilato
On 05/18/2011 12:44 PM, Hyrum K Wright wrote: > On Wed, May 18, 2011 at 11:17 AM, C. Michael Pilato > wrote: >> On 05/18/2011 09:53 AM, Bert Huijben wrote: >>> One obvious case is that libsvn_client sometimes suggests that you >>> should do a 'svn something', which is only possible if you use svn

Re: enhancements for error reporting

2011-05-18 Thread Hyrum K Wright
On Wed, May 18, 2011 at 11:17 AM, C. Michael Pilato wrote: > On 05/18/2011 09:53 AM, Bert Huijben wrote: >> One obvious case is that libsvn_client sometimes suggests that you >> should do a 'svn something', which is only possible if you use svn. > > libsvn_client should *never* give suggestions th

Re: enhancements for error reporting

2011-05-18 Thread 'Daniel Shahaf'
Bert Huijben wrote on Wed, May 18, 2011 at 11:27:06 +0200: > > > > -Original Message- > > From: C. Michael Pilato [mailto:cmpil...@collab.net] > > Sent: woensdag 18 mei 2011 11:17 > > To: Bert Huijben > > Cc: Daniel Shahaf; dev@subversion.apache.o

RE: enhancements for error reporting

2011-05-18 Thread Bert Huijben
> -Original Message- > From: C. Michael Pilato [mailto:cmpil...@collab.net] > Sent: woensdag 18 mei 2011 11:17 > To: Bert Huijben > Cc: Daniel Shahaf; dev@subversion.apache.org > Subject: Re: enhancements for error reporting > > On 05/18/2011 09:53 AM, Ber

Re: enhancements for error reporting

2011-05-18 Thread C. Michael Pilato
On 05/18/2011 09:53 AM, Bert Huijben wrote: > One obvious case is that libsvn_client sometimes suggests that you > should do a 'svn something', which is only possible if you use svn. libsvn_client should *never* give suggestions that refer to any particular client binary's usage semantics! If suc

Re: enhancements for error reporting

2011-05-18 Thread Daniel Shahaf
ibsvn_client% grep \'svn *c | grep -v \/\* zsh: exit 1 grep -v \/\* > +1 on better + documented error codes in similar cases, to fix this. > > Bert Huijben (Cell phone) From: Daniel Shahaf > Sent: woensdag 18 mei 2011 9:40 > To: dev@subversion.apache.org > Subject:

RE: enhancements for error reporting

2011-05-18 Thread Bert Huijben
40 To: dev@subversion.apache.org Subject: Re: enhancements for error reporting I don't understand why we would need to change the libraries when the cmdline client can already figure out --- using the same libraries --- what advice to print. Stefan Küng wrote on Wed, May 18, 2011 at 07:32:09 +0200: &

Re: enhancements for error reporting

2011-05-18 Thread Daniel Shahaf
I don't understand why we would need to change the libraries when the cmdline client can already figure out --- using the same libraries --- what advice to print. Stefan Küng wrote on Wed, May 18, 2011 at 07:32:09 +0200: > On Tue, May 17, 2011 at 22:55, C. Michael Pilato wrote: > > On 05/17/2011

Re: enhancements for error reporting

2011-05-17 Thread Stefan Küng
On Tue, May 17, 2011 at 22:55, C. Michael Pilato wrote: > On 05/17/2011 08:54 PM, Stefan Küng wrote: >> Hi, >> >> Currently the svn command line client prints out (sometimes, if it's >> possible) some helpful messages telling the user what to do, e.g., run a >> cleanup or try an update. >> >> The

Re: enhancements for error reporting

2011-05-17 Thread C. Michael Pilato
On 05/17/2011 08:54 PM, Stefan Küng wrote: > Hi, > > Currently the svn command line client prints out (sometimes, if it's > possible) some helpful messages telling the user what to do, e.g., run a > cleanup or try an update. > > The problem I have in TSVN is that in most situations, the error cod

enhancements for error reporting

2011-05-17 Thread Stefan Küng
Hi, Currently the svn command line client prints out (sometimes, if it's possible) some helpful messages telling the user what to do, e.g., run a cleanup or try an update. The problem I have in TSVN is that in most situations, the error code that's returned is not specific enough. For exampl