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

Bug: svn revert annoys the user by behaving differently from all other commands

From: Markus Bertheau ☭ <twanger_at_bluetwanger.de>
Date: 2005-03-18 17:05:34 CET

In particular it is not recursive and you need to tell it the target to
operate on explicitly. Everyone knows this.

This behaviour is a workaround for the fact, that users, who by mistake
revert, lose their local modifications. The thinking goes like this: If
I annoy the user with the unexpected behaviour of svn revert, he'll
think twice about it and won't issue reverts by mistake.

A real solution to this problem that does not involve annoying the user
is as follows:

Upon revert, store the local modifications in a hidden file. Offer a
command "unrevert" (or similar), to restore the local modifications.

Benefit:
 - revert behaves like the rest (implicit target, recursive by default)
 - therefore doesn't annoy the user
 - prevents data loss a lot better

Please share your thoughts.

Thanks

-- 
Markus Bertheau ☭ <twanger@bluetwanger.de>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 18 17:08:21 2005

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