Svn Tools is an editor extension to improve your workflow with SVN and Unity. It shows you all the information you need in your project window and it enables you to access the most used features of SVN from inside your Unity editor.
Key Features
Icon overlay for file status
Use SVN commands in the project window
Auto-check the repository for new changes
Warning before modifying out-of-date files
Automatically lock assets when editing
Auto-add/delete files when moved or deleted in Unity
Svn Tools has now been submitted to the Asset Store, after tweaking it a little bit to ensure it follows all the guidelines.
It should be available within 5 to 10 business days!
When you move a file or rename it in Unity, the old file(name) will be marked as missing and the new file(name) will be added and marked as unversioned.
The best way to move/rename files is to use the SVN commands Move or Rename. This will keep the version history of the file intact.
This is currently not supported from the Unity Editor but will be added as soon as possible. (Moving files currently works in the development version, but moving folders still causes problems)
For now it is best to delete the old files when doing your next commit and then add the new files:
Hi. I am for some reason not seeing the icon overlays. Though I do have this problem in windows explorer as well (except for in save as and open dialogs, which is strange).
Can you please check if any of the following works:
In the preferences window (Edit > Preferences > SVN Tools)
Can you check if Svn Tools is enabled. (first option in the window: ‘enable SVN Tools’)
Did you choose the location of an SVN executable? There should be a warning in both the preferences window and the console if you didn’t. (choosing a client location is not needed for the overlay icons, only the svn location)
Is the icon scale larger than 0?
Is there any error displayed in the console? If so, then please copy the error message and post it here.
Right click in the project window > SVN > Refresh. This should refresh the cache and display the icons
Actually I take that back. Maybe I am configuring wrong. I have it set to use TortoiseProc.exe. Is that not correct? I have no svn.exe. Also I just don’t see anything still.
I chose the TortoiseProc.exe (as I did not select to install the command line.
2a. I installed latest version and had a command line installed. But I did not change tortoiseproc selection. (now its working)
Definiteley larger than 0.
4.No errors or warnings related to the SVN tool. All project warnings from my content and scripts.
Yeah. That works too.
Everything is working now once I updated the version of svn.
I ask again. Is the command line svn.exe required? Or is the TortoiseProc.exe safe to use? I have used it, it was submitting stuff when the icons were broken. So I assume it is safe but I want to make sure it’s not something that could be a problem in the future.
The command line (svn.exe) is required for the overlay icons and other functionality. It is the process that directly communicates with the svn repository. It should not be possible to choose TortoiseProc.exe for this, but it looks like the path is not validated entirely. I will make sure to add a better explanation and better warnings for the next version.
TortoiseProc.exe is used to directly access the client functionality to commit/revert/etc. However it is not possible to retrieve all the information required for the overlay with just TortoiseProc
Ok. Sorry for the double posting, but now after choosing the SVN.exe (which is the one I chose on install as the optional command line tools) it says this is an invalid client selected.