[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: Michael Wood <mwood_at_its.uct.ac.za>
Date: 2003-08-10 12:42:01 CEST

On Sat, Aug 09, 2003 at 11:30:12PM +0200, Michael Wood wrote:
> On Sat, Aug 09, 2003 at 12:59:32PM -0700, David Mankin wrote:
> >
> >
> > --On Saturday, August 09, 2003 10:43 AM -0500 Ben Collins-Sussman
> > <sussman@collab.net> wrote:
> >
> > >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.
> > >>
> > ...
> > >
> > >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'.
> > >
> >
> > I'd like to point out that the CVS equivalent command to 'svn revert' is
> > 'cvs update -C filename'. This command *does* keep the modified copy
> > around under a .#filename.version file. Offering the same thing in svn,
> > while technically only a "convenience" for manually copying the files, is
> > likely to prevent people being disappointed that their local changes were
> > lost.
>
> Subversion will only throw away the local changes iff you use --force.
> Is that not reminder enough?

Sorry. Must have been asleep when I wrote that. It's false.

-- 
Michael Wood <mwood@its.uct.ac.za>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Aug 10 12:43:01 2003

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