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

Re: revert -keep?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-08-09 17:43:37 CEST

Karl Palsson <kpalsson@cisco.com> writes:

> In a clearcase uncheckout, you have the option of either removing or
> keeping your modified files. if you choose to remove, the behaviour is
> as per subversion, if you choose to keep, you get filename.keep and
> later .keep.2 and .keep.3 and so on.
>
> Is this a planned feature? Is there an issue ID I can track?

I don't think this idea makes much sense.

In clearcase, you declare which files you're about to edit
("checkout"), or undo that declaration ("uncheckout"). So it makes
sense that in such a universe, the user gets a choice about whether or
not to preserve the local mods.

In CVS and Subversion, there are no declarations of "intent to edit".
You just edit. The fact that a file has local mods *is* the
declaration of the intent to change. So either the mods are present,
or they're not.

You're not required to use 'svn revert' at all; it's a just a
convenience for removing local changes. It's not the same as
"uncheckout", because you never declared the edit to begin with. And
in a similar vein, you can just manually copy your changed files
elsewhere before running 'svn revert'.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Aug 9 17:46:52 2003

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

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