Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Subversive » Prevent replace from deleting a file
Prevent replace from deleting a file [message #38810] Fri, 05 December 2008 05:26 Go to next message
Marijn is currently offline Marijn
Messages: 19
Registered: July 2009
Junior Member
Hi,

When I have a project checked out via SVN and copy a file into it which
already exists and choose to replace it, the file is marked for
deletion. Perhaps Eclipse, when replacing, first deletes the file
trigging an svn delete command and then copies it?
Anyway I'd like to be able to prevent the deletion command from being
triggered. It should treat the "new" file as if it were the old one but
with some changes. Is this possible?

Regards,

Marijn.
Re: Prevent replace from deleting a file [message #39738 is a reply to message #38810] Tue, 23 December 2008 11:44 Go to previous message
Igor Burilo is currently offline Igor Burilo
Messages: 435
Registered: July 2009
Senior Member
Hello Marijn,

If you perform a replace action, it's normal that source file is marked for
deletion, what's wrong here? Target file could be marked as Replaced
(Added).
Or do you have that target file is marked for deletion, then what exact
status do you have for it (you can see it in Commit dialog in Content
column)?
Also as a workaround you can just copy content from the source file and
paste it to target file.

> Hi,
>
> When I have a project checked out via SVN and copy a file into it which
> already exists and choose to replace it, the file is marked for deletion.
> Perhaps Eclipse, when replacing, first deletes the file trigging an svn
> delete command and then copies it?
> Anyway I'd like to be able to prevent the deletion command from being
> triggered. It should treat the "new" file as if it were the old one but
> with some changes. Is this possible?
>
> Regards,
>
> Marijn.
Previous Topic:Revision graph
Next Topic:Assertion Failure: in SVNAnnotationGenerator.normalizeBlames():current chunks should always start at
Goto Forum:
  


Current Time: Fri Aug 22 08:04:31 EDT 2014

Powered by FUDForum. Page generated in 0.02302 seconds