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

Re: RFC: Change "revert" behaviour

From: Greg Stein <gstein_at_lyra.org>
Date: 2004-11-29 17:29:09 CET

On Mon, Nov 29, 2004 at 04:03:40PM -0000, Max Bowsher wrote:
>...
> >(Would --force be the paranoia flag?)
>
> I don't think that would make sense. After all, this isn't "do what I say
> even though it might be dangerous", it's more "spend extra time making
> absolutely sure".

Agreed.

> If we do want a paranoid-comparison flag at all (do we?), there's no reason
> for it not to be common to *all* subcommands which crawl a WC.

Make paranoid the default. We always want to choose safe defaults. If
somebody wants a bit more speed at the cost of "not [necessarily] as
safe", then they can use a flag.

In this particular case, the person doing the merges knows there
aren't any local mods, so they could do something like:

  $ svn revert --skip-safety-checks --recursive .

Much better...

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 29 17:28:20 2004

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