[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: Mark Phippard <markphip_at_gmail.com>
Date: 2007-09-04 15:58:43 CEST

On 9/4/07, David Balazic <David.Balazic@hermes-softlab.com> wrote:
> The Browse button ?
> I used the "Show Log" button to select the desired revision.

I was just speaking generically. I could not remember what the button
was labeled for selecting a revision. Show Log is what I meant.

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

That button would be used if you wanted to Switch to a different branch.

> 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

These options seem consistent then. It would mean the file did not
exist in that revision. BTW, we are just running a Subversion API.
Subversion is deciding what to do.

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

Update is just bringing the file back to HEAD. If the file does not
currently exist because of the Switch, then Add would be the normal
operation.

Maybe the file was renamed during this revision range?

-- 
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 Tue Sep 4 15:56:14 2007

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