[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: Johan Compagner <jcompagner_at_gmail.com>
Date: Wed, 7 May 2008 14:56:57 +0200

hmm how does the cvs plugin then sees this? or work around this?
if i test quickly then cvs even immediately sees that that some files are
really not changes (content is the same)
and the one that are are marked as out going changes..

I have as a test 2 projects
1 is cvs and 1 is svn

both have the same dir with the same file set.
and what i do is copy between them..
and then cvs is working fine, svn is marking everything as deleted.

I think what cvs does is this
You delete a file. CVS marks it as outgoing deletion
then i paste/cop the file again where i just deleted.
If that had the same contents, the deletion is gone, and i even dont see any
outgoing changes.
if i pasted a file that has the same name but different content then the
delete change is changed to an outgoing change.

This is how svn also should work and then copy/paste is just solved because
a deletion is alwasy rolledback when it finds the same filename again.


On Wed, May 7, 2008 at 2:43 PM, Mark Phippard <markphip_at_gmail.com> wrote:

> On Wed, May 7, 2008 at 7:49 AM, Johan Compagner <jcompagner_at_gmail.com>
> wrote:
> > This is always quite annoying, if i do in eclipse copy of a file (my
> example
> > this is not an svn file)
> > and i drop it on an svn file then that file has an outgoing deletion
> > instead of just outgoing change..
> > The file is not deleted it is just updated as a whole...
> When you drag and drop or copy & paste within Eclipse, for some
> reason, Eclipse processes this as a delete + add with corresponding
> events being fired. We just see the events and have no way to know
> the difference.
> When you drag and drop from say Windows Explorer into Eclipse it just
> treats it as an update.
> We have complained about the Eclipse behavior since prior to 3.0.
> --
> Thanks
> Mark Phippard
> http://markphip.blogspot.com/
> ---------------------------------------------------------------------
> 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 14:57:11 CEST

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