Copy/Paste should have svn copy functionality [message #20073] |
Wed, 28 May 2008 08:35  |
Eclipse User |
|
|
|
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
|
|
|
Re: Copy/Paste should have svn copy functionality [message #20193 is a reply to message #20073] |
Thu, 29 May 2008 23:28   |
Eclipse User |
|
|
|
Hi Jorg,
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
|
|
|
|
|
|
|
|
Re: Copy/Paste should have svn copy functionality [message #46366 is a reply to message #46336] |
Tue, 12 May 2009 06:35  |
Eclipse User |
|
|
|
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/*
>>
|
|
|
Powered by
FUDForum. Page generated in 0.05009 seconds