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

package move bug

From: McClain Looney <mlooney_at_gmail.com>
Date: 2004-09-14 15:34:44 CEST

Hi all,

The package refactor bug seems to be caused by eclipse trying to move
.svn directories from the source package over to the dest package.

apparently the dest folder is already added to svn at the time this
happens, due to a prior move file call. Mysteriously, the child
.java files of the package are moved and added to svn (creating the
problematic .svn dir in the dest package) before the package dir
itself is moved (i'm not sure why/how this happens). this essentially
violates the contract of the hook, which states that the target
directory will not exist at the time the hook is called.

 the error is thrown after the destination child contents are
successfully moved, but before the moveFolder hook is invoked, so
short-circuiting the move of the .svn dir isn't possible.

any ideas on the right way to fix this? I've been hacking around on it
for a while to no avail.

McClain Looney
Received on Tue Sep 14 23:34:44 2004

This is an archived mail posted to the Subclipse Dev mailing list.

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