[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 15:45:21 +0200

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?

johan

On Wed, May 7, 2008 at 3:42 PM, Johan Compagner <jcompagner_at_gmail.com>
wrote:

> phh all these open source projects really consume my time ;)
> I will try to look at it
>
> For example what now also is going wrong but i guess thats exactly the
> same principle
>
> delete a file
> then think ahh that file shouldnt be deleted
> CTRL-Z (undo)
>
> then i still have an deletion icon (red x) in the resource
> this is a very weird icon to have in the explorer tree anyway i guess,
> when is that a valid thing.
> when do we have an outgoing deletion of a file that is on the filesystem?
> Can you unversion 1 file?
>
> also in the sync view it is funny
> Delete a file -> Outgoing (black icon) deletion
> Undo -> Incoming (blue icon) deletion... ???
>
> johan
>
>
>
> On Wed, May 7, 2008 at 3:34 PM, Mark Phippard <markphip_at_gmail.com> wrote:
>
> > On Wed, May 7, 2008 at 9:30 AM, Johan Compagner <jcompagner_at_gmail.com>
> > wrote:
> > > i do think it is that simple in cvs. I think they dont do anything
> > special
> > > for the past over/overwrite file itself..
> > > If i just look at it then they just have that broken down in 2
> > behaviors
> > > (delete behavior and "new" behavior over existing deletion"
> > >
> > > because if i do that in my own steps
> > > Delete a file
> > > then copy "over" it again
> > > It does exactly the same thing
> > > as i paste over it directly
> > > the end result is the same.
> >
> > I think the CVS code just does not do anything when you delete a file.
> > It does not care until it is time to commit.
> >
> > Anyway, I described what you would have to do in SVN to implement your
> > suggestion.
> >
> > --
> > 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 15:45:31 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.