[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Subclipse-dev] why is it that if i copy/paste over a file that it is then an outgoing deletion?

From: Mark Phippard <markphip_at_gmail.com>
Date: Wed, 7 May 2008 10:33:39 -0400

On Wed, May 7, 2008 at 9:45 AM, Johan Compagner <jcompagner_at_gmail.com> wrote:
> by the way, i cant use revert command for this undo problem to be solved.
> Because i could have deleted an changed file..
> Isnt it possible in the api to just reset a status of the file? (so set the
> status not changed or changed)?
> I still have to know then that the file is changed or not compared to the
> svn version. but that can be done quickly in svn right?

I would focus on the events that Eclipse sends when you do the
copy/paste. Maybe you get both the delete and add together, so when
processing the delete, you could "look-ahead" and see if an add is
coming with the same file and then just ignore the delete.
Unfortunately, I do not think it does this though. If you could that
would be the ideal, because then you could just skip the svn delete
which would solve all the problems.

Mark Phippard
To unsubscribe, e-mail: dev-unsubscribe_at_subclipse.tigris.org
For additional commands, e-mail: dev-help_at_subclipse.tigris.org
Received on 2008-05-07 16:33:45 CEST

This is an archived mail posted to the Subclipse Dev mailing list.