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

Re: [Locking] commit and unlock; revert and unlock

From: Travis P <svn_at_castle.fastmail.fm>
Date: 2004-12-17 05:06:04 CET

On Dec 16, 2004, at 8:14 PM, Bryan Donlan wrote:

> On Fri, 17 Dec 2004 01:35:42 +0000, Julian Foad
> <julianfoad@btopenworld.com> wrote:
>> That is, if "svn commit" releases locks from the given
>> targets, or has an option to do so or not to do so, "svn revert"
>> should have
>> the same default and options.
>
> Wouldn't this mean reverting would potentially require network access?

That was my first thought. Commit and Revert are already fundamentally
different in that way.

Also, I think that the Revert action can be potentially considered an
"editing" action, which commit is not: Revert changes the content of a
file while Commit does not.

I know that as part of an edit, I sometimes make edits to a file and
then decide I do not like the direction I've taken and I revert it so
that I can start with a clean slate of changes.

Despite their similarity in synchronization of content with a
repository version, I don't think Commit and Revert are two sides of
the same coin. I don't think that Revert should automatically have the
same default and options as Commit.

-Travis

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Dec 17 05:07:19 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.