darcs

Issue 1072 wish: warnings for common errors in ~/.darcs/defaults

Title wish: warnings for common errors in ~/.darcs/defaults
Priority feature Status duplicate
Milestone Resolved in
Superseder wish: distinguish between NoArg, OptArgs, and ReqArg in defaults parser
View: 691
Nosy List darcs-devel, dmitry.kurochkin, kowey, marlowsd, thorkilnaur
Assigned To
Topics

Created on 2008-09-12.13:46:22 by marlowsd, last changed 2009-08-27.14:10:27 by admin.

Messages
msg5991 (view) Author: simonmar Date: 2008-09-12.13:46:20
For a while I've had the following in my ~/.darcs/defaults:

push --no-set-default --ssh-cm

hoping that it would turn on --ssh-cm.  In fact, it sets the 
"no-set-default" flag to the value "--ssh-cm".  What I really wanted was

push no-set-default
push ssh-cm

Unfortunately I got no warnings from darcs, and it appeared to be working, 
except that I wasn't getting the effect of --ssh-cm, which I only just 
discovered by using 'darcs push --debug'.  I think it would be nice to get 
a helpful warning for people like me who can't be bothered to read the docs :)

Cheers,
	Simon
msg5992 (view) Author: kowey Date: 2008-09-12.13:50:33
Ah-hah!  Now I know for sure I'm not the only one.  I think this is a duplicate,
if I'm not mistaken
History
Date User Action Args
2008-09-12 13:46:22marlowsdcreate
2008-09-12 13:50:35koweysetstatus: unread -> duplicate
priority: feature
superseder: + wish: distinguish between NoArg, OptArgs, and ReqArg in defaults parser
messages: + msg5992
title: warnings for common errors in ~/.darcs/defaults -> wish: warnings for common errors in ~/.darcs/defaults
2009-08-10 23:45:26adminsetnosy: + simon, dmitry.kurochkin, thorkilnaur, - dagit
2009-08-25 18:14:53adminsetnosy: + darcs-devel, - simon
2009-08-27 14:10:27adminsetnosy: kowey, darcs-devel, thorkilnaur, dmitry.kurochkin, marlowsd