[darcs-devel] [issue1303] proposal: make "darcs changes" interactive by default

Zooko bugs at darcs.net
Tue Jan 6 15:37:28 UTC 2009


New submission from Zooko <zooko at zooko.com>:

I just noticed that nowadays I always add "-i" when I run "darcs  
changes".  (In the olden days I always added " | less".)

It occurs to me that just as "darcs record" is by default interactive  
and the user has to specify "--all" if he wants non-interactive batch  
mode, so "darcs changes" could by default be interactive and "--all"  
could indicate non-interactive batch mode.  I've also noticed that  
when I'm instructing newbies in how to use darcs I often have to tell  
them to add "-i" so that they can get what they want out of running  
"darcs changes".

This might break scripts which are running "darcs changes" an  
expecting batch mode currently, but in the long run it would be  
better to have more user friendliness and consistency.  Scripts can  
insulate themselves against such a change by explicitly passing "-- 
all" for invocations which require batch mode.

Hm -- "darcs changes --help" lists "--all" as meaning "answer yes to  
all patches".  I think that's a mistake of documentation.

Regards,

Zooko
---
Tahoe, the Least-Authority Filesystem -- http://allmydata.org
store your data: $10/month -- http://allmydata.com/?tracking=zsig

----------
messages: 6998
nosy: dmitry.kurochkin, kowey, simon, thorkilnaur, zooko
status: unread
title: proposal: make "darcs changes" interactive by default

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1303>
__________________________________


More information about the darcs-devel mailing list