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

[Subclipse-users] Annoying prompt on revert

From: Dan Fabulich <dan_at_fabulich.com>
Date: Mon, 30 Jun 2008 23:12:46 -0700 (Pacific Daylight Time)

There's an issue that has annoyed me about Subclipse for a long time.
Open up a file in the Java editor, edit it, save it. Right click in the
editor, Team -> Revert. The SVN "Revert" dialog will appear; click OK.

Now, annoyingly, Eclipse will pop-up a "File Changed" dialog, saying: "The
file has changed on the file system. Do you want to replace the editor
contents with these changes?"

I certainly *do* want to load up the reverted file; that's why I said
"Revert" after all! I wish there were some way to make Eclipse not ask me
that; the CVS team provider does not have this problem.

I think the magic is to pass IWorkspace.AVOID_UPDATE to IWorkspace.run,
which we apparently usually do, but not in every case, e.g. not in
SynchronizerSyncInfoCache.

Should I file an issue in the tracker?

-Dan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subclipse.tigris.org
For additional commands, e-mail: users-help_at_subclipse.tigris.org
Received on 2008-07-01 08:12:55 CEST

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.