[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: <kfogel_at_collab.net>
Date: 2004-11-29 16:42:06 CET

"Max Bowsher" <maxb@ukf.net> writes:
> "svn revert" is dreadfully slow, because (IIUC) it's checksumming
> every file, despite the fact that svn would usually deem a timestamp
> match to be sufficient.
>
> I think this is overly pedantic. It really kills the usefulness of
> revert, when you are trying out lots of merges - for example, when
> reviewing backports.
>
> I've just thrown together a little script to run "svn status", and
> individually invoke "svn revert" on the changed items - but my point
> is that I shouldn't *have* to do that.
>
> Therefore I propose making "svn revert" use the same strength of
> modified checks as elsewhere, possibly with an option to restore the
> paranoid behaviour if desired.
>
> Thoughts?

+1

I think we never thought about 'revert' as a time-sensitive operation.
But you are living proof that the constant time penalty hurts.

(Would --force be the paranoia flag?)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 29 16:46:17 2004

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.