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

Re: [Subclipse-users] Roll back a repository

From: Mark Phippard <markphip_at_gmail.com>
Date: 2007-01-13 16:07:23 CET

On 1/13/07, lightbulb432 <veerukrishnan@hotmail.com> wrote:
>
> Using the subclipse plugin, how can I rollback a repository so that its HEAD
> goes to a previous version (i.e. I just committed a change to the HEAD that
> I'd like to undo)? How would I do this from the SVN Repository Exploring
> perspective - or would I have to do it from the working copy somehow (which
> seems like an indirect method)?

There are not very many things that Subversion allows you to do
directly in the repository. To undo a change, you need to do a
reverse merge. Easiest thing is to right-click on Project in
workspace and do Show History optiion. Select the revision or range
of revisions you want to undo. Right-click and take the option to
revert the changes in those revisions. This will run a reverse merge.
 Resolve any conflicts produced by the merge, verify and commit.

> Also, is it correct to say that the representation of the repository as
> shown in the SVN Repository Exploring perspective is always the HEAD?

Sort of. The data is cached, so unless you refresh it can become out
of date. But whenever the data is being fetched, it is fetching HEAD.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Sat Jan 13 16:07:32 2007

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

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