in Eclipse I can copy folders with Copy / Paste. But the .svn directories are also copied, so that I
get problems with subversion.

IMHO, Eclipse should avoid to copy version control related files. Ideal solution would be if paste
could use the "svn copy" operation to create the copy if some conditions are met (i.e. copy source
is under svn control, same repo etc.)

I think this would be a general Eclipse Team RFE (do not copy version control files) and a separate
Subversive RFE.

I agree with you. I already encountered situation where developers were
not aware of this behavior and trying to copy a resource folder from a
project to another one and it mess up the repositories.

In the same idea I found that when you do a copy/paste on a file in
eclipse, the file is marked as replaced, while if you do the same
operation directly on your filesystem, the file is marked as modified
(which what I want).

Regards,
Francois

Jörg Thönnes wrote:
> Hi all,
>
> in Eclipse I can copy folders with Copy / Paste. But the .svn directories are also copied, so that I
> get problems with subversion.
>
> IMHO, Eclipse should avoid to copy version control related files. Ideal solution would be if paste
> could use the "svn copy" operation to create the copy if some conditions are met (i.e. copy source
> is under svn control, same repo etc.)
>
> I think this would be a general Eclipse Team RFE (do not copy version control files) and a separate
> Subversive RFE.
>
> Any comments?
>
> Jörg

This is well-known problem. Unfortunately the problem cannot be solved
easily because Eclipse Team Services does not provide a hook for resources
copying. So, in order to avoid the problem please use action Team->Copy
To...

On 06/12/08 17:41, Alexander Gurov wrote:
> Hello Francois, Jorg,
>
> This is well-known problem. Unfortunately the problem cannot be solved
> easily because Eclipse Team Services does not provide a hook for
> resources copying. So, in order to avoid the problem please use action
> Team->Copy To...

Hello Alexander,

the same applies for moving, I guess. It would be good to extend the Eclipse framework
here (as you did for [Bug 230853] Sometime resources are disappeared from Synchronize View).

Could you file a bug or shall I do? I think you are able to do a better bug description since you
know the internal much better.

In general. I believe that the Subversive integration is a good chance to fill some gaps in the
Eclipse framework.

Also I will say that currently we have no time to implement team hooks for
intercepting the "Copy" action because all our attention is concentrated
on supporting of JavaHL 1.5 and including our project into Ganymede
Simlutaneous Release program.

P.S.
Yes, I, Alexey and Igor still speek Russian (and Ukrainian). :-) So, thank
you for your great help in finding and solving all these issues.

i usually avoid this problem exporting those files i need to copy and
then importing them back.

Or quicky you can use the rightclick -> Team -> Copy To
funcition de-selecting "Keep resource history" (which cause
not to copy .svn folders).

Have a nice day

--
Andrea

Dollyn ha scritto:
> We just have the same problem. But I see that when Copy/Paste in a Java
> Project, there are not such
> problems. And I didn't find anything special in JDT's code.
>
> Is there any one knows how does JDT achieve this? Or the Subversive did
> anything?
>
> Jörg Thönnes wrote:
>> Hi all,
>>
>> in Eclipse I can copy folders with Copy / Paste. But the .svn directories are also copied, so that I
>> get problems with subversion.
>>
>> IMHO, Eclipse should avoid to copy version control related files. Ideal solution would be if paste
>> could use the "svn copy" operation to create the copy if some conditions are met (i.e. copy source
>> is under svn control, same repo etc.)
>>
>> I think this would be a general Eclipse Team RFE (do not copy version control files) and a separate
>> Subversive RFE.
>>
>> Any comments?
>>
>> Jörg
>>
>
> --
>
> */Dollyn/*
>

On 05/12/09 12:30, a.dessi wrote:
> Hy Dollyn,
>
> i usually avoid this problem exporting those files i need to copy and
> then importing them back.
>
> Or quicky you can use the rightclick -> Team -> Copy To
> funcition de-selecting "Keep resource history" (which cause
> not to copy .svn folders).

But I do want the resource history, i.e. the indication in SVN that this file was
copied/moved/renamed from the other file.

A related issue is that the rename refactoring also could be done using "svn move", but it works as
"add/del" which looses history. Therefore, I sometimes skip the resource rename action during
refactorings and add them myself using "Copy To" and file removal. This is a night-mare!

Cheers, Jörg

> Dollyn ha scritto:
>> We just have the same problem. But I see that when Copy/Paste in a
>> Java Project, there are not such
>> problems. And I didn't find anything special in JDT's code.
>>
>> Is there any one knows how does JDT achieve this? Or the Subversive
>> did anything?
>>
>> Jörg Thönnes wrote:
>>> Hi all,
>>>
>>> in Eclipse I can copy folders with Copy / Paste. But the .svn
>>> directories are also copied, so that I
>>> get problems with subversion.
>>>
>>> IMHO, Eclipse should avoid to copy version control related files.
>>> Ideal solution would be if paste
>>> could use the "svn copy" operation to create the copy if some
>>> conditions are met (i.e. copy source
>>> is under svn control, same repo etc.)
>>>
>>> I think this would be a general Eclipse Team RFE (do not copy version
>>> control files) and a separate
>>> Subversive RFE.
>>>
>>> Any comments?
>>>
>>> Jörg
>>>
>>
>> --
>>
>> */Dollyn/*
>>