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

Re: [Subclipse-users] Unsupported Feature

From: Mark Phippard <markp_at_softlanding.com>
Date: 2006-03-07 15:58:48 CET

"Markus Karg" <markus.karg@quipsy.de> wrote on 03/07/2006 09:53:30 AM:

> I want to add a whish to the Post-1.0 whishlist:
>
> My project conatins more than one source folder (to be exactly, more
than 25).
> All of them are in the repository.
> When I rename one of that folders, subclipse asks SVN to do a DELETE+ADD
operation. Ok.

Actually, we run svn move. Internally it does a delete + add.

> Now inside of the renamed folder, I want to rename a package.
> Subclipse now asks SVN to do a DELETE+ADD operation, but SVN is a bit
upset
> since it is asked to delete something that is not already added quite
yet (so
> it asks for a COMMIT first).
>
> Solution: When there is a rename in Eclipse, Subclipse should check
whether it
> is in a folder that is already in the repository. If so, it does the
usual
> DELETE+ADD. If not (e. g. it is in the status "DELETED", "ADDED" or
"NON-
> VERSIONED"), just do not ask SVN to do anything: In case of "DELETED",
any
> operation is useless; in case of "ADDED", the rename will be reflected
by the
> ADD already; in case of "NON-VERSIONED" SVN is not interested in the
rename.

The answer to this problem is not to have Subclipse add some ugly hack
that does not really help. The answer is to press Subversion to add
better support for want you want to do. There have been patches and
discussions in these areas already, they just have not been committed yet.
 JavaSVN already included support for some (maybe all) of this. It just
does not expose it via the API that we call.

Mark

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. and SoftLanding Europe Plc by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Tue Mar 7 16:01:32 2006

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.