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

Re: [Subclipse-users] Local History is lost after reverting file

From: Vairoj A. <vairoj_at_hotpop.com>
Date: 2006-08-04 05:02:51 CEST

Hi,

That is what I thought and the reason I submitted bug to Eclipse
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=152096). However, this
are response:

<quote>

Ah, I didn't realize you were talking about a team operation. This is a bug in
Subclipse. In their implementation of Team Revert, they need to specify the
KEEP_HISTORY flag when they call IResource.setContents() to request that a
local copy be held in the local history. I suggest reporting this to the
maintainers of Subclipse.

</quote>

Does the point he made valid?

Regards,
Vairoj

 
Mark Phippard wrote:
> "Vairoj A." <vairoj@hotpop.com> wrote on 08/01/2006 05:16:28 AM:
>
>
>> When doing a Team Revert (revert to lastest prestine version SVN
>>
> repository), the
>
>> Local History should keep the changes made and saved. However, it turns
>>
> out
>
>> that when doing a Team Revert, the Local History for changes during the
>>
> period
>
>> is completely lost.
>>
>> Here is the scenario, using Subclipse for Subversion SCS.
>> * Update the workspace to latest version.
>> * Edit a file and save. At this point Local History will contains the
>>
> change I
>
>> just made.
>> * Do Team > Revert on the file. The file is reverted to latest prestine
>> version. And Local History is lost, too. There is no possible way to
>>
> recover
>
>> back the change I made.
>>
>> Local History should not be lost as a consequence of Team Revert because
>>
> this
>
>> is what Local History is used for, to keep a local history of files.
>>
>> Is the a bug in Subclipse?
>>
>
> Local History is a feature provided by the Eclipse platform. I do not
> believe that we make any method calls asking it to be removed or anything
> like that. If you want to do some research into what classes/methods are
> responsible for local history I can look through our code and verify this
> for you.
>
> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
> For additional commands, e-mail: users-help@subclipse.tigris.org
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Fri Aug 4 05:03:06 2006

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

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