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

[Subclipse-users] Utility for improved handling of deleted files and folders.

From: Youval Bronicki <nospam_at_nospam.xyz>
Date: 2006-10-12 17:08:18 CEST

Hello all,

I've had some problems handling deleted and moved resources (folders and
files) in Subclipse.

If I renamed a file, modify it and then want to rename it back to the
original name - it appears that I have to commit it first.

The tool I am writing and using (Tersus - www.tersus.org) uses large
hierarchies of files and makes it easy to rename these hierarchies.
This causes a huge headache when using Subclipse - it can take hours to
resolve synchronization problems caused by renaming a high level object
and then undoing the change.

Anybody else suffering having similar problems?

To make life easier, I have written a small enhancement plugin that does
the following (by listening to workspace modification events).

- If a file is created in a deleted folder, the deleted folder is
reverted (as are any deleted ancestors).

- If a file is created in place of a deleted file, the deleted file is
reverted, and overwritten with the new content.

The plugin makes it possible to create a file or folder inside a folder
marked for delete, and to create a file with the same name as a deleted
file -

without having synchronization problems.

It still doesn't help with renaming a folder and renaming it back to the
original name before committing.

If anyone is interested, the plugin (with source code) can be downloaded
from http://downloads.tersus.com/misc_files/tersus.subclipse-0.1.0-src.zip

If many people find this useful, maybe it can be added to Subclipse itself.

Youval Bronicki

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Thu Oct 12 17:10:24 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.