Skip to main content



      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
Eclipse UserFriend
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
Eclipse UserFriend
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: Tue Jul 22 02:36:29 EDT 2025

Powered by FUDForum. Page generated in 0.07633 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top