You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Glenn Carr <GC...@ConnectShip.com> on 2004/04/13 16:32:39 UTC

usage of "Revert changes from this revision"?

We are using TortoiseSVN as our primary interface to SVN, and we've turned a
bunch of new developers loose with it.  A few of us are familiar with CVS,
and we decided after some testing to use SVN for our newest project.  Just
recently we had our developers run through some exercises to get them
familiar with SVN/TSVN.  

One of the exercises was to restore a set of changes to a previous version.
Many of them tried "Revert changes from this revision" from the revision log
dialog with weird and seemingly bizarre results.  We had determined from the
docs[1] that the best way to do this was using merge.  The problem was that
the menu item "Revert changes from this revision" was so enticing on the rev
log dialog.  It was odd though, that we don't find any reference to
reverting changes from a particular revision in the SVN docs.  

What exactly should one expect when selecting this menu item?  Is there even
a corresponding option using svn.exe?  What are some scenarios in which it
could be used?

Thanks, Glenn

[1] http://svnbook.red-bean.com/svnbook/book.html#svn-ch-4-sect-4.2

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: usage of "Revert changes from this revision"?

Posted by Ben Collins-Sussman <su...@collab.net>.
On Tue, 2004-04-13 at 11:32, Glenn Carr wrote:

> What exactly should one expect when selecting this menu item?  Is there even
> a corresponding option using svn.exe?  What are some scenarios in which it
> could be used?

This is a question about TortoiseSVN's UI, and TortoiseSVN is really a
separate project;  you should be posting these questions over on that
project's users@ list.

I *assume* that "revert changes from this revision" is the same as
running 'svn revert'.  And if so, I agree, it's confusing, especially
the phrase "from this revision", which makes it sound like it's going to
modify a repository revision tree.  'svn revert' has nothing to do with
the repository.  I think a better wording is "revert changes from this
working copy".



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: usage of "Revert changes from this revision"?

Posted by Mark Phippard <Ma...@softlanding.com>.
Glenn Carr <GC...@ConnectShip.com> wrote on 04/13/2004 12:32:39 PM:

> 
> One of the exercises was to restore a set of changes to a previous 
version.
> Many of them tried "Revert changes from this revision" from the revision 
log
> dialog with weird and seemingly bizarre results.  We had determined from 
the
> docs[1] that the best way to do this was using merge.  The problem was 
that
> the menu item "Revert changes from this revision" was so enticing on the 
rev
> log dialog.  It was odd though, that we don't find any reference to
> reverting changes from a particular revision in the SVN docs. 
> 
> What exactly should one expect when selecting this menu item?  Is there 
even
> a corresponding option using svn.exe?  What are some scenarios in which 
it
> could be used?
> 

Sounds like it would be running svn revert

http://svnbook.red-bean.com/svnbook/re25.html

Not sure from your description if that is what you want to do.  If you 
wanted to set your working copy to a particular version from the 
repository, it seems like you could use the svn switch option.

http://svnbook.red-bean.com/svnbook/re27.html

Mark