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

Re: strange behaviour of Add to svn:ingnore in 0.9.101

From: Mark Phippard <markp_at_softlanding.com>
Date: 2005-12-09 15:02:56 CET

Jozef Kotlar <jozef.kotlar@eea.sk> wrote on 12/09/2005 04:51:58 AM:

> I am testing Subclipse 0.9.101 (Eclipse 3.1.1 on Linux, JavaSVN) and I
> discovered following problem:
>
> Maven plugin has generated .settings directory with two files under it.
>
> It was presented in Synchronize View as added file, but when I
> right-clicked ".settings" to Add to svn:ignore, it offered me those two
> files, not the directory and the change failed (while .settings was not
> yet in SVN).
>
> >From Navigator view it worked with OK.
>
> Anyway, after synchronization (both in Eclipse and SVN), this directory
> hasn't disappeared. Even more it is now there two times (with pending
> operations empty, even pom.xml is really changed)

First, obviously there are bugs here. Let me try to explain them:

1) To add something to svn:ignore, adds values to the svn:ignore property
of the parent folder of the item(s). So you cannot add something to
svn:ignore unless its parent folder has already been added to Subversion.

2) The Synchronize view does some weird things in option handling. When
you select a "folder" we are not passed that folder in our option
handling. We are passed the items beneath it. There is an open issue
related to this for other options. I recall that Eugene Kuleshov posted
some sample code as to how he thinks we could extract the selection from
the information we receive.

3) Double entries in view. The Synchronize stuff is heavily driven by a
cache, and that cache appears to get out of sorts when you do this. I do
not really understand this area very well and I do not know how you can
manually delete/repair it. Long ago when the Synch view had more
problems, deleting the Synch and then doing a new Synch where you selected
a different resource (such as a "src" folder instead of a "Project" folder
would clean things up. I do not know if that is still true. Martin
Letanay would have to chime in if he is still around.

All I can suggest is that you do your Add to version control options, and
add to svn:ignore options from the Team -> Menu prior to doing a Synch in
the future.

Mark

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. and SoftLanding Europe Plc by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________
Received on Sat Dec 10 01:02:56 2005

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.