[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:29:18 -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)?

No, the API for that is revert.

> 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?

Not sure what scenario you mean now, but basically you have to run the
status API. If the file exists and is the same as the base version it
will come back as status == normal. If there are any differences it
will be modified.

-- 
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 16:29:24 CEST

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