may i propose to rename the command "svn revert" to
"svn yes-the-hell-i-want-to-revert --force --i-am-really-sure --no-you-dont-have-to-ask-me-again
--i-did-not-mean-resolve --recursive-even-all-the-other-commands-are-already-recursive"?
then you easily can add an additional option:
" .. --this-time-its-really-force-that-i-want"
it would perfectly prevent any wrong use (mix up with other commands), and so any disasters. also
it is quite habituation-proof.
brought to you by the commitee for clear, unsurprising, easy to use, and easy to remeber
command-line-syntax.
-s ;)
------------------------------------------------------------------
Subject: Re: 'svn revert' vs. 'svn resolve'
From: kfogel@collab.net
Date: 06 Jun 2003 14:29:01 -0500
Content-Type: text/plain; charset=us-ascii
Ben Collins-Sussman <sussman@collab.net> writes:
> * I would argue that 'svn revert conflicted-file' is
> actually performed more often on *purpose* than by
> accident. I use that technique all the time, when I want
> to toss my local mods without editing conflict markers.
> So does that mean folks will just get habituated into
> *always* typing --force? If so, it recreates the problem.
This objection doesn't hold -- habituation to the correct command
won't cause habituation to the incorrect command, if the two habits
(key sequences) are different.
Consider: if you accidentally type "revert" when you meant to type
"resolve", you won't also pass --force (because resolve doesn't
require that, and you thought you were resolving). Thus, when the
command fails because you didn't pass '--force', that's your signal
that you didn't type the command you meant to type. Disaster
prevented.
It's true that when you *intend* to revert, you will probably
habituate to typing '--force'. But that's okay, because you want the
command to succeed then anyway!
Brought to you by the Committee To Make Habituation Not Automatically
Synonymous With Evil When Discussing User Interfaces,
-K
__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jun 8 19:00:36 2003