About Store Forum Documentation Contact



Post Reply 
Simple feature request: Editor/clean
Author Message
mystara Offline
Member

Post: #1
Simple feature request: Editor/clean
Hi,

I was wondering if it would be possible to change the behaviour of the editor to not remove directories when carrying out a clean? Instead, could it be changed to delete all visible files, while leaving the folder structure intact?

My reasoning is that SVN stores data in an invisible folder named ".SVN" in each directory. At the moment, when you do a clean, the entire Game folder is deleted, together with its files and the .SVN folders. This causes big problems for version control.

I believe that with minimal modification, the editor could be adjusted to instead traverse the folder directory starting with Game, and simply remove all visible files. This would achieve the same effect, while allowing version control to continue to work.
06-01-2012 03:50 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Simple feature request: Editor/clean
Quote:This causes big problems for version control.
could you let me know what are those problems?
06-02-2012 02:14 PM
Find all posts by this user Quote this message in a reply
mystara Offline
Member

Post: #3
RE: Simple feature request: Editor/clean
The .svn directories contain administrative information about the working copy. In particular, they contain information as to which files have been changed since last checkout.

If files are changed, and the .svn directories are subsequently deleted (which will typically be the case when a clean/rebuild is carried out) then SVN cannot determine which files have changed, and it is impossible to commit changes to the repository.

The only fix involves lots of fiddling around to recreate the .svn directories.

If the editor were changed to only delete files, then the important .svn directories would not be deleted. Consequently, commits to the repository would remain simple.
(This post was last modified: 06-02-2012 04:07 PM by mystara.)
06-02-2012 04:07 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
RE: Simple feature request: Editor/clean
would it work if I delete everything except the .svn folders?
06-05-2012 12:28 PM
Find all posts by this user Quote this message in a reply
mystara Offline
Member

Post: #5
RE: Simple feature request: Editor/clean
Yes, I think that would be fine.
06-05-2012 12:46 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #6
RE: Simple feature request: Editor/clean
World Editor
-clean mini map folder
-clean game folder
will no longer delete .svn folders starting next SDK
06-05-2012 02:54 PM
Find all posts by this user Quote this message in a reply
mystara Offline
Member

Post: #7
RE: Simple feature request: Editor/clean
Hurray! Thanks! smile

<ponders> Any idea when the next Mac SDK release will be? smile
06-10-2012 09:19 AM
Find all posts by this user Quote this message in a reply
mystara Offline
Member

Post: #8
RE: Simple feature request: Editor/clean
Hi,

This feature doesn't seem to be mentioned in the version history of the latest release. Does that mean it isn't included or that it was missed off the version history?
06-23-2012 12:32 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #9
RE: Simple feature request: Editor/clean
Hello, it should be available, I just didn't include it in the version history.
06-23-2012 12:53 PM
Find all posts by this user Quote this message in a reply
mystara Offline
Member

Post: #10
RE: Simple feature request: Editor/clean
Excellent, thanks
06-23-2012 05:46 PM
Find all posts by this user Quote this message in a reply
Post Reply