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

Re: [Subclipse-users] Fwd: subclipse bug?? Lose revision information in eclipse project when changing branches or creating branches/tags

From: Mark Phippard <markphip_at_gmail.com>
Date: 2007-11-09 01:15:32 CET

On 11/8/07, Ryan Rozich <rrozich@innography.com> wrote:
>
> To follow up on this last post (forwarded below) about version information
> disappearing when I perform team operations. I am looking in the PDE log and
> see the following errors:
>
> The SVN synchronization information for '360Dev-FEATURE09' has become
> corrupt or does not exist.
>
> (I did verify that the .svn folders are still there.. This svn working
> copy was checked out via subclipse and is managed exclusively with
> subclispe)
> Follow on errors include the stack trace:
>
> java.lang.NullPointerException
> at
> org.tigris.subversion.subclipse.ui.decorator.SVNLightweightDecorator.decorateTextLabel
> (SVNLightweightDecorator.java:362)
> at
> org.tigris.subversion.subclipse.ui.decorator.SVNLightweightDecorator.decorate
> (SVNLightweightDecorator.java :305)
> at
> org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate
> (LightweightDecoratorDefinition.java:253)
> at
> org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(
> LightweightDecoratorManager.java:71)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
> at org.eclipse.core.runtime.Platform.run(Platform.java:857)
> at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(
> LightweightDecoratorManager.java:336)
> at
> org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations
> (LightweightDecoratorManager.java:322)
> at
> org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(
> DecorationScheduler.java:369)
> at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(
> DecorationScheduler.java:329)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>
> The problem is not only that the text labels do not show the revision
> information, but now *some* of the team options - like commit are available
> and some are greyed out (like branch, tag and merge)..
>
> I reproduced the error with the following steps:
> (1) Check out a new working copy - text decorators for repository,
> version, and last commiter appear fine
> (2) Do team->merge and perform a dry run
> (3) All text decorations disappear, many team functions are now disabled

If any team operations are enabled them things are fine. You probably have
more than one item selected and the other items are grayed out because they
do not support multiple selections.

Is subclipse corrupting my svn version information when I do team
> operations? This happened to be earlier this week and I reinstalled eclipse
> 3.3.0 and installed the subclipse plugin.. The only other plugins that I
> have installed are phpeclipse, and jseclipse

There is never ... ever ... a case where you have to reinstall stuff. The
absolute worst thing you would need to do is create a new workspace and I
doubt there is ever a scenario you need to do that. Subclipse does not
touch your code. We make SVN API calls and it does its thing. The two main
things you have to watch out for are Eclipse operations that delete folders
that have .svn folders in them and also copy and paste within Eclipse. The
latter will copy the .svn folders and Eclipse does not have an API for some
reason so that a team provider can handle a copy and paste.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
Received on Fri Nov 9 01:15:41 2007

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