Re: "Entry already exists" Msg after refactoring package across projects - WS to WS same repository
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..
On 11/3/05, Sridhar V Iyer <firstname.lastname@example.org> wrote:
> I get the following msg after refactoring and
> attempting to commit my changes:
> org.tigris.subversion.javahl.ClientException: Entry
> already exists
> 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- email@example.com
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> To unsubscribe, e-mail: firstname.lastname@example.org
> For additional commands, e-mail: email@example.com
Received on Fri Nov 4 11:57:36 2005
This is an archived mail posted to the Subclipse Users