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

Re: Problem copying from one directory to another...

From: Kevin Duffey <supreme_java_guru_1_at_yahoo.com>
Date: 2005-09-09 03:25:45 CEST


> > and added the folder into subversion under the new
> > folder location automatically, aka the svn copy?
> I do not think that is what is happening. It is
> what *should* be
> happening, but I do not think it is. I think our
> code is not getting
> invoked at all and Eclipse is just copying the
> folder, which means it is
> also incorrectly copying the .svn folder. Unless
> you manually deleted
> that folder, you might experience some problems. I
> would suggest you run
> svn log and/or Show in Resource History and closely
> examine your commit to
> see that it really committed to the locations you
> think it did. If the
> .svn folders came over in the copy, it is possible
> that you simply
> committed back to the original location.

You are right! It DID move the .svn and yet it still
acted as if it was from the original folder. I was
wondering why that error message was indicating the
old directory. So yes, you are right, Subclipse is
not getting invoked correctly in this case.

> > I didn't know it was able to do that. I also don't
> see a
> > right-click delete or copy/paste option under the
> > team-> pull out menu, so I am not sure how I can
> > directly svn delete or svn copy something from
> inside
> > of eclipse?
> I have looked at the Eclipse API some more. There
> is fairly obvious API
> for move/delete, which we implement, but I do not
> see anything for Copy.
> So I suspect that our code is not running on any
> copy operations. We may
> need to add our own Copy option under the Team menu
> so that there is a way
> to do an svn copy. If we have no way to intercept
> the Eclipse copy, then
> this is going to be a lingering problem we will need
> to document well.

That is most definitely odd that they have no direct
way to listen for copy! Seems odd they would have
delete in there, but not copy/paste.

> Mark
> Scanned for SoftLanding Systems, Inc. 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

Click here to donate to the Hurricane Katrina relief effort.
Received on Fri Sep 9 11:25:45 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.