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

Re: Using TortoiseSVN with Eclipse workspace breaks it

From: Daniel Becroft <djcbecroft_at_gmail.com>
Date: Thu, 13 Aug 2009 08:52:41 +1000

On Wed, Aug 12, 2009 at 10:22 PM, Schneider, Bjoern /tesa scribos GmbH HDB <
Bjoern.Schneider_at_tesa.com> wrote:

> Hi,
>
> > Subversion doesn't touch any metadata except the .svn directory. You
> > may need to get back to Netburner on this one to see what they
> > recommend. Or ask on the eclipse users list.
>
> With 'metadata' I refered to the directory with the same name in which
> Eclipse stores it workspace settings, etc.
>
> I think I boiled the problem down: Eclipse arbitrary deletes and creates
> files in this directory. So--in Subversion's view--some files went missing
> and others popped up (without being under svn's control). As these files are
> needed by Eclipse, you must add these everytime you commit, otherwise a
> checkout of it simply breaks.
>
> This idiocy prevents any simple approach to that problem--and you must rely
> on tools/plugin like Subclipse, which take care to mark obsolete files
> deleted and add the new ones. I'd really like to know what the Eclipse
> developers see as advantage of this approach... :-/
>
> Anyway, as this is definitely not a TSVN problem (rather a
> Subversion-Eclipse-interaction one), I'd think we'd schould close this
> thread :) If someone knows of a magic Subversion property which is
> assignable to a directory and says something like "always commit this and it
> contents as-is": I'd be happy to hear of it ;)
>
>
It sounds as though you have the entire workspace stored in the SVN
repository (ie .metadata and projects) - is this correct?

Normally, the .metadata would not be under SVNs control, and there SVN
shouldn't care about this. Each project is then checked-out, and is treated
independently in Eclipse.

For example:

\workspace
    \.metadata
    \project1 (checked out from svn://server_name/repo_1/trunk
        \.svn
        \src
    \project2 (checked out from
svn://server_name/repo_1/branches/special_branch
        \.svn
        \src
    \project3 (local project, not managed by SVN)

Either way, when you commit, if you select the check-box next to both the
'missing' files and the 'unversioned' files, then these files will be
deleted from and added to SVN respectively.

Cheers,
Daniel B.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2383068

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-08-13 06:58:46 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.