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

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

From: Sridhar V Iyer <iyers_at_rocketmail.com>
Date: 2005-11-04 01:31:39 CET

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
Received on Fri Nov 4 11:31:39 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.