Re: Resolution: only print specific error message when present
From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2003-12-07 03:49:37 CET
Greg Hudson wrote:
I think: yes, this would make the error reports better, but it requires that all specific messages do in fact repeat the essence of the general text. I do not know whether Erik or anyone has checked that they do so, but I'd be willing to accept the risk that some messages might not be very good on their own. Some messages are not very good anyway, and we gradually find them, and fix them, so no change there really.
I would prefer to achieve the same end a different way, by making the generic errors parametric in a large number of cases, so that the text is not repeated in the program source at every instance. The effect would be a bit like Philip's example above, but neater ("svn: File not found: 'foo'"). However, this would be more work and Erik's patch will not impede any future effort to do this.
Therefore +1.
- Julian
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.