darcs

Issue 112 I wish that "darcs replace -f" were equivalent to "darcs replace --force".

Title I wish that "darcs replace -f" were equivalent to "darcs replace --force".
Priority wishlist Status resolved
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, kowey, thorkilnaur, tommy, zooko
Assigned To
Topics Patch

Created on 2006-01-26.04:37:07 by zooko, last changed 2009-08-27.13:47:05 by admin.

Messages
msg422 (view) Author: zooko Date: 2006-01-26.04:37:06
I'm mentoring this co-workers of mine using darcs for the first time, so I am
able to notice all of these small issues that first-time users notice but
long-time users don't.
msg429 (view) Author: droundy Date: 2006-01-26.14:14:06
The catch with using -f as equivalent to --force (which does feel very
unixy) is that I try to keep to the policy that short flags are the same
for all commands that accept them (and I prefer not to remove short
flags).  We don't currently use -f for anything, so it's free.  The only
question is whether we'd ever want it for anything else.  All I can imagine
would be something like "--file", which seems unlikely.

This is something that I'd like to have other people's opinion on.  Which
I'll have to get, since I'm not going to do this myself.  It's a trivial
patch, but if noone cares to do this, I'll conclude it isn't really a
valuable idea.  Feel free to bring the subject up on darcs-users and/or
darcs-devel to try to get support, if noone takes action.
-- 
David Roundy
http://www.darcs.net
msg477 (view) Author: zooko Date: 2006-02-09.23:18:59
thread:

http://www.abridgegame.org/pipermail/darcs-devel/2006-February/004088.html
msg478 (view) Author: droundy Date: 2006-02-11.13:08:34
I'm leaning in favor of this change, since -f seems to be commonly used for
--force in unixy apps, but I'd like to be sure that at least one or both of
the darcs maintainers weighs in on this, since adding a new short flag is a
big deal.

David
msg479 (view) Author: tommy Date: 2006-02-11.15:14:09
On Sat, Feb 11, 2006 at 01:08:35PM +0000, David Roundy wrote:
> I'm leaning in favor of this change, since -f seems to be commonly used for
> --force in unixy apps, but I'd like to be sure that at least one or both of
> the darcs maintainers weighs in on this, since adding a new short flag is a
> big deal.

The user demand for short flags has not been overwhelming.
I only miss short flags for --last and possibly --match(es),
but --force would come next in turn.  And since I too can't
think of any other good use for -f, and strongly associate
it with --force (from 'rm -rf'), I'll support this change.
msg639 (view) Author: tommy Date: 2006-05-13.17:40:19
implemented in 1.0.7
History
Date User Action Args
2006-01-26 04:37:07zookocreate
2006-01-26 14:09:36droundysetnosy: droundy, tommy, zooko
2006-01-26 14:14:08droundysetstatus: unread -> unknown
nosy: droundy, tommy, zooko
messages: + msg429
2006-02-09 23:19:00zookosetnosy: droundy, tommy, zooko
messages: + msg477
2006-02-11 13:04:30droundysettopic: + Patch
nosy: droundy, tommy, zooko
2006-02-11 13:08:35droundysetnosy: droundy, tommy, zooko
messages: + msg478
2006-02-11 15:14:10tommysetnosy: droundy, tommy, zooko
messages: + msg479
2006-03-25 23:20:12jchsetstatus: unknown -> resolved-in-unstable
nosy: droundy, tommy, zooko
2006-04-07 23:11:12jchsetstatus: resolved-in-unstable -> resolved
nosy: droundy, tommy, zooko
2006-05-13 17:40:20tommysetstatus: resolved -> unknown
nosy: droundy, tommy, zooko
messages: + msg639
2006-05-13 17:40:48tommysetstatus: unknown -> resolved
nosy: droundy, tommy, zooko
2009-08-06 17:46:21adminsetnosy: + markstos, jast, Serware, dmitry.kurochkin, darcs-devel, dagit, mornfall, simon, kowey, beschmi, thorkilnaur, - droundy
2009-08-06 20:48:24adminsetnosy: - beschmi
2009-08-10 21:49:38adminsetnosy: - markstos, darcs-devel, jast, dagit, Serware, mornfall
2009-08-25 17:58:08adminsetnosy: + darcs-devel, - simon
2009-08-27 13:47:05adminsetnosy: tommy, kowey, darcs-devel, zooko, thorkilnaur, dmitry.kurochkin