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

Re: [Subclipse-users] "The file has been changed on the file system" when committing

From: Mark Phippard <markp_at_softlanding.com>
Date: 2006-06-28 17:28:35 CEST

Zach Bailey <zach.bailey@hannonhill.com> wrote on 06/28/2006 10:37:51 AM:

> I am running Eclipse 3.2RC7 and Subclipse 1.1.2 with the JavaHL adapter.
>
> I have recently come across the following behavior:
>
> I open a single file for editing, say, "blah.java". I change a couple of

> things...right click on the file and select "Team -> Commit". I enter a
> commit comment and then commit the file successfully. However, my
> Eclipse still shows the "uncommitted changes" decoration on this file.
> If I wait a little while, keeping the file open I will eventually have
> Eclipse tell me "the file has been changed on the file system. do you
> wish to reload the file?".
>
> It seems that the commit operation is not telling Eclipse to
> reload/refresh the file; apparently either subclipse or the subversion
> adapter is doing something to the file or the file's metadata that is
> not being immediately recognized by Eclipse. Either way, this is a minor

> annoyance but an annoyance nonetheless.

I tested (using same setup) and could not recreate. I tried both
adapters. Decorator refreshes and I do not get the warning about being
changed on disk.

Are you using any features like svn:keywords which would cause SVN to
change the file after you commit? That would at least explain the
warning.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Wed Jun 28 17:30:05 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.