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

RE: [Subclipse-users] Switch and Get Revision not working ?

From: David Balazic <David.Balazic_at_hermes-softlab.com>
Date: 2007-09-04 15:47:33 CEST

The Browse button ?
I used the "Show Log" button to select the desired revision.
 
The Browse button show the entire repository and I have to dig down to the file in question.
This can't be the right way, is it ?
 
I tried the option "Get Revision" in the "SVN Resource History" and it gave this in the console :
update -r 2945 -N D:/eclipse_workspaces/eclipse-workspace_3/my_proj/pom.xml

D D:/eclipse_workspaces/eclipse-workspace_3/my_proj/pom.xml

Updated to revision 2945.

===== File Statistics: =====

Deleted: 1

 
If I do Team / Switch / Revision (select one by the Show Log button) then I get this :
 
switch http://my.server/projects/foo/project_alpha/+BAR/src/trunk/my_proj/pom.xml D:/eclipse_workspaces/eclipse-workspace_3/my_proj/pom.xml -r2945

D D:/eclipse_workspaces/eclipse-workspace_3/my_proj/pom.xml

Updated to revision 2945.

===== File Statistics: =====

Deleted: 1

fsd
As you see in both cases the file is deleted. But if I select Update on the file in "Team Synchronizing" perspective, the command is :
update -r 3302 D:/eclipse_workspaces/eclipse-workspace_3/my_proj/pom.xml

A D:/eclipse_workspaces/eclipse-workspace_3/my_proj/pom.xml

Updated to revision 3302.

===== File Statistics: =====

Added: 1

I am confused ...
 
David
 

________________________________

From: Mark Phippard [mailto:markphip@gmail.com]
Sent: Tue 04-Sep-07 15:21
To: users@subclipse.tigris.org
Subject: Re: [Subclipse-users] Switch and Get Revision not working ?

On 9/4/07, David Balazic <David.Balazic@hermes-softlab.com> wrote:
> That is exactly what I want to do: Go back in time.
>
> I want to use the older revision of a file. I do not plan to do any changes
> on it.
>
> As I said, the CVS Team / Switch to another Revision... is exactly what I
> want and need.
>
> I thought for SVN Team / Switch is the equivalent. But it seem not to be.
> What is its purpose ?

That is also what SVN Switch does. Team > Switch, use the Browse
button to pick the revision you want to go back to and click OK. The
command output shows in the Console view if you open up the SVN
Console. I am 100% certain the option works correctly.

--
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


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

Received on Tue Sep 4 15:44:40 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.