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

Re: [Subclipse-users] Oddness with eclipse 3.3

From: Mark Phippard <markphip_at_gmail.com>
Date: 2007-07-27 13:03:33 CEST

On 7/27/07, Nigel Magnay <nigel.magnay@gmail.com> wrote:
> Hmm - this is now happening again, in a slightly different way. Eclipse has
> been restarted with -clean, just to clear any junk out.
>
> I have a folder in a project, src/assemble, the folder is already committed
> to SVN.
> Inside it, there are 2 files, one is new, one is modified.
>
> Right-clicking on the project and selecting commit, I correctly get the
> commit dialog, with the right files (the change being checked, the new file
> marked as unversioned).
>
> However. The icon on the changed file is wrong - it's an unchanged icon
> rather than a changed. Doing a right-click 'compare with|latest from
> repository' says 'there are no differences between the selected inputs'.
> This is not correct. Doing 'svn diff' from the commandline shows numerous
> changes as I'd expect.
>
> In synchronize view, the changed file is missing (probably due to the
> above).
>
> Any ideas?

It sounds like what you see when the changes were made outside of
Eclipse and the resource is out of synch with the filesystem. Did you
use the Refresh option in Eclipse so that it would discover the
change?

We use a mixture of Subversion and Eclipse API's. Subversion API's
will always reflect the current reality of the filesystem. Eclipse
API's will always reflect what Eclipse knows. Most the time, these
things are the same. Some tools have had bugs where they change files
and do not send the proper notifications to Eclipse so that it knows
about those changes. That sounds like the case here.

Refresh should fix the problem.

-- 
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 Fri Jul 27 13:02:12 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.