darcs

Issue 407 darcs send: Improvements on error message

Title darcs send: Improvements on error message
Priority feature Status resolved
Milestone Resolved in
Superseder Nosy List d135-1r43, darcs-devel, dmitry.kurochkin, kowey, thorkilnaur, tommy
Assigned To
Topics ProbablyEasy

Created on 2007-02-07.19:29:39 by d135-1r43, last changed 2009-08-27.14:11:36 by admin.

Messages
msg1465 (view) Author: d135-1r43 Date: 2007-02-07.19:29:32
If "darc send" fails the error message is absolutely no help for finding the
error. There should be some information, why sending failed or what to do to
make it work. Furthermore darcs should ask if the user wants to save the patch
locally instead (i.e. darcs send -o)
msg1477 (view) Author: droundy Date: 2007-02-08.23:05:52
On Wed, Feb 07, 2007 at 07:29:40PM +0000, Markus Herhoffer wrote:
> If "darc send" fails the error message is absolutely no help for finding the
> error. There should be some information, why sending failed or what to do to
> make it work. Furthermore darcs should ask if the user wants to save the patch
> locally instead (i.e. darcs send -o)

It would be helpful to know what error message you received, and what went
wrong (if you know).
-- 
David Roundy
Department of Physics
Oregon State University
msg1481 (view) Author: d135-1r43 Date: 2007-02-12.16:12:55
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

David Roundy schrieb:
> David Roundy <droundy@darcs.net> added the comment:
> 
> On Wed, Feb 07, 2007 at 07:29:40PM +0000, Markus Herhoffer wrote:
>> If "darc send" fails the error message is absolutely no help for finding the
>> error. There should be some information, why sending failed or what to do to
>> make it work. Furthermore darcs should ask if the user wants to save the patch
>> locally instead (i.e. darcs send -o)
> 
> It would be helpful to know what error message you received, and what went
> wrong (if you know).

Hello!

This is the output if I try to send a patch:

- --------------
darcs send
Creating patch to "http://beza1e1.tuxen.de/jambler"...

Sun Feb 11 21:56:26 CET 2007  markus@herhoffer.net
  * test
Shall I send this patch? (1/1) [ynWvpxqadjk], or ? for help: y
What is the target email address? markus@herhoffer.net

darcs failed:  failed to send mail to: markus@herhoffer.net
- --------------

I don't think that "failed to send mail to: markus@herhoffer.net" is a
good error message. There should be an instruction for fixing the
problem, i.e. configuring sendmail. Furthermore I think darcs should
offer the possibility to save the patch locally. It took me quite a long
time to figure out, that "darcs send -o" will do that, because that is
not documented in the man page.

CU
Markus

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFz4SOuXdsp50C0vMRCKPqAJ95cxRKFKX/x2ShGBl4SRiQdbfIVQCeMmkG
FDcAOL0io5oaDNGkvZtiXxg=
=kzQV
-----END PGP SIGNATURE-----
msg2181 (view) Author: kowey Date: 2007-10-28.13:27:32
Resolved in unstable with:

Tue Aug 21 07:49:32 CEST 2007  Eric Kow <eric.kow@loria.fr>
  * [issue407] Offer some minimal advice if sendmail failed.
History
Date User Action Args
2007-02-07 19:29:39d135-1r43create
2007-02-08 23:05:54droundysetstatus: unread -> unknown
nosy: droundy, tommy, beschmi, kowey, d135-1r43
messages: + msg1477
2007-02-12 16:13:07d135-1r43setnosy: droundy, tommy, beschmi, kowey, d135-1r43
messages: + msg1481
2007-08-20 06:43:42koweysettopic: + ProbablyEasy
nosy: droundy, tommy, beschmi, kowey, d135-1r43
2007-10-28 13:27:32koweysetstatus: unknown -> resolved-in-unstable
messages: + msg2181
2007-11-17 11:11:43koweysetstatus: resolved-in-unstable -> resolved-in-stable
2008-09-16 21:30:54adminsetstatus: resolved-in-stable -> resolved
nosy: + dagit
2009-08-06 17:50:24adminsetnosy: + markstos, jast, Serware, dmitry.kurochkin, darcs-devel, zooko, mornfall, simon, thorkilnaur, - droundy, d135-1r43
2009-08-06 20:53:28adminsetnosy: - beschmi
2009-08-10 22:01:41adminsetnosy: + d135-1r43, - markstos, darcs-devel, zooko, jast, Serware, mornfall
2009-08-10 23:59:26adminsetnosy: - dagit
2009-08-25 18:01:44adminsetnosy: + darcs-devel, - simon
2009-08-27 14:11:36adminsetnosy: tommy, kowey, darcs-devel, d135-1r43, thorkilnaur, dmitry.kurochkin