Reputation: 41
I am using TotoiseSVN on Windows Vista which works very well. Only one thing keeps bothering me: Under Vista the explorer expands the .svn subdirs and that is very confusing.
(Yes, I can make my Explorer ignore all hidden files, but that is no possible solution, because I need to see them for other reasons during development)
Thank you!
Upvotes: 1
Views: 5901
Reputation: 11
Upvotes: 1
Reputation: 41
From command prompt, first make the .svn unhidden
--> attrib -h .svn /s /d
Then make all the .svn folders system folders + hidden
--> attrib +h +s .svn /s /d
This way you can still show your hidden files/folders (like I do) but as long as you have "Hide protected operating systems files" checked, the .svn folders won't show up in windows explorer.
Upvotes: 4
Reputation: 8363
One option is to look at using a WindowsExplorer alternative.
For example, I use DirectoryOpus - http://nudel.dopus.com/opus9/
It has an option in Preferences to toggle Show in Folder Tree | Hidden Folders - which I believe is what you're referring to when you say that you still want to see it but not expanded - which I take to mean, not in the left-hand (tree) view.
This screenshot illustrates what I get (and what I think you're after)
In my case, the folder is .git (not .svn), but they are the same for our purposes. They are folders automatically marked as hidden.
(This software does many, many more things - such that I can no longer even use WindowsExplorer).
Upvotes: 1
Reputation: 52689
wait until Svn 1.7 which will do away with them in favour of a single file held outside the folder tree.
Otherwise, apart from going golfing with Bill, you'll have to turn the show hidden files option off.
Upvotes: 3