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

Re: "Entry already exists" Msg after refactoring package across projects - WS to WS same repository

From: Jeffrey Kesselman <jeffpk_at_gmail.com>
Date: 2005-11-04 01:57:36 CET

Silly question but did you try a "clean" after you refactored?

I find Eclispe is often confused after a refactor due to left over old
.class files, but that a clean fixes it right up..

JK

On 11/3/05, Sridhar V Iyer <iyers@rocketmail.com> wrote:
>
> I get the following msg after refactoring and
> attempting to commit my changes:
>
> org.tigris.subversion.javahl.ClientException: Entry
> already exists
> svn:
> 'F:\WorkArea\data\Java\Projects\DT\Components\src\com\test\dt\comp\update'
> is already under version control
>
> As part of the refactoring I effectively moved a
> package from ProjectA to ProjectB. Both under svn and
> both "mounted" at different "trunks".
>
> The problem is reported on ProjectB. ProjectA commited
> fine. Old pkg was delete from ProjectA and new one is
> waiting with a '?' icon in ProjectB. Which also
> indicates it is not underversion control ?
>
> com/test/dt/comp/update is the new pkg in ProjectB.
>
> Repository does not show this pkg. So clearly it is
> not under version control ?
>
> I have tried "eclipse refreshing" and "svn updating"
> all projects but in vain.
>
> I am using svn 1.2.3, subclipse 0.9.36 with javaHL
>
> I have seen the mailing lists one or two people
> reported something similar in 2003 and 2004 but not
> much solution has been offered.
>
> I went to command prompt:
> cd to com\test\dt\comp
>
> Running svn status shows ? against the update dir but
> does not show +.
>
> cd to update dir, svn status shows the current dir
> with A and + and all files with M and +.
>
> Shouldn't they all show ? with +. Shouldn't update dir
> under comp dir also show ? and +
>
> We only make changes via the subclipse-client no os
> level changes have been made. When I was commiting I
> did not have a work space crash. The first commit
> itself reported this.
>
> Is this a bug ? Do I have to do a manual clean up ?
>
> Where do I start ?
>
> Another thing I remember and this might be key:
>
> I first refactored
> com/test/dt/new_fw/update in ProjectA to
> com/test/dt/new_fw/update in ProjectB
> (this happened by mistake I actually wanted a
> different sub dir )
> so I again refactored
> com/test/dt/new_fw/update in ProjectB to
> com/test/dt/comp/update in ProjectB
>
> Now, looking at the svn entries file under update dir:
>
> I find the url pointing to com/test/dt/new_fw/update
> instead of com/test/dt/comp/update
> the copiedfromurl is correct.
>
> But changing this url did not help.
>
> please help.
>
> Sridhar Iyer
> email- iyers@rocketmail.com
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
> For additional commands, e-mail: users-help@subclipse.tigris.org
>
>
Received on Fri Nov 4 11:57:36 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.