[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: 'svn revert' vs. 'svn resolve'

From: solo turn <soloturn99_at_yahoo.com>
Date: 2003-06-08 18:59:50 CEST

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

-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

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,


Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).

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

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.