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

question: revert to this revision behavior

From: Jon Daley <tortoise_at_jon.limedaley.com>
Date: 2007-03-28 20:22:41 CEST

I am running 1.4.3 rev 8645, so that is later than all the bug reports and
questions I have seen.

From the tsvn log dialog, I see the "revert to this revision" option.

Can someone explain what "svn" command it is running?

I assumed it was running "svn cat -rXXX file.name > file.name" which would
actually revert the file to that revision.

Instead it appears to be running "svn merge HEAD:XXX file.name" or
something similar.

When would one use "revert to this revision"? ie. what is it supposed to
do?

I guess what I want is the "save revision to" and then type in the name of
the file.

"revert" doesn't seem like the right term to me, since if there are local
changes, it doesn't revert them, but does some sort of merge.

From the help doc:
>>>
Revert to an earlier revision. If you have made several changes, and then
decide that you really want to go back to how things were in revision N,
this is the command you need. Again, the changes are reverted in your
working copy so this operation does not affect the repository until you
commit the changes. Note that this will undo all changes made after the
selected revision, replacing the file/folder with the earlier version.
<<<

It doesn't really replace it if it is doing a merge, right?

Or am I misunderstanding what is going on?

Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Wed Mar 28 20:23:05 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.