[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: Mark Phippard <MarkP_at_softlanding.com>
Date: 2005-09-08 14:44:23 CEST

Kevin Duffey <supreme_java_guru_1@yahoo.com> wrote on 09/07/2005 11:37:55

> In reply to your 5 steps, essentially I was using
> Eclipse to make a file system copy of a folder and its
> subfolders/files to a new folder in another location.
> It appears that Subclipse picked up on the copy/paste
> 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.

> 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.


Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by MessageLabs.
Received on Thu Sep 8 22:44:23 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.