I just updated from SVN 1.6 to SVN 1.7. My Icon overlays aren't showing up. In looking at SVN's settings in 1.7, I no longer have the option to use "_svn" directories. This is likely why I'm having issues. Does anyone know how to make SVN 1.7 use _svn directories again?
-
why aren't you using default .svn directories?Christian P– Christian P2011-10-17 18:38:52 +00:00Commented Oct 17, 2011 at 18:38
-
As far as I know it's for compatibility with Visual Studio or Microsoft's OS's. Either way, it's a standard that we've adopted at my company and I need to get it back if I can.Rob K.– Rob K.2011-10-17 18:44:23 +00:00Commented Oct 17, 2011 at 18:44
-
I've used the SVN on Win XP, Win Server 2003, Win 7 and Win Server 2008 R2 with Visual Studio 2010 and never had problems with .svn folders.Christian P– Christian P2011-10-17 18:48:05 +00:00Commented Oct 17, 2011 at 18:48
-
@christian.p the problem is because its not a valid folder name in windows. try to create a ".svn" folder for yourself.dowhilefor– dowhilefor2011-10-17 18:50:45 +00:00Commented Oct 17, 2011 at 18:50
-
There is no problem with .svn folder names in Windows (in general, at least)crashmstr– crashmstr2011-10-17 18:55:20 +00:00Commented Oct 17, 2011 at 18:55
6 Answers
This is what i found in the help of the new Version.
As of version 1.4.0 and later, the TortoiseSVN installer doesn't provide the user with the option to set the SVN_ASP_DOT_NET_HACK environment variable anymore, since that caused many problems and confusion for users who always install everything no matter whether they know what it is for.
But that option is only hidden for the user. You still can force the TortoiseSVN installer to set that environment variable by setting the ASPDOTNETHACK property to TRUE. For example, you can start the installer like this:
msiexec /i TortoiseSVN-1.4.0.msi ASPDOTNETHACK=TRUE
Comments
With this update to TortoiseSVN, you need to manually update your working copies before you can use it (and no icon overlays will show until you update!).
Not sure about _svn
Update: I did find Setting the SVN_ASP_DOT_NET_HACK environment variable Which may do what you are looking for.
3 Comments
These webservice issues have been gone since VS2005. Only those of us stuck on .net 1.1 have no choice but to deal with the underscore hack. I can confirm that 1.7 does indeed recognize the underscore hack, at least as far as upgrading 1.6 which was already using the hack. msiexec /i TortoiseSVN-[1.7].msi ASPDOTNETHACK=TRUE upgrades 1.6 and does not remove the hack. You will still have to upgrade your working copy but it works fine after that. Again, I can only confirm that the upgrade works, I can't confirm if it will work from a new install but I suspect that it would. Thank you TortoiseSVN for not leaving the hopelessly outdated out in the cold.
Comments
Open a command prompt in your working copy folder. Run the following commands:
attrib -h _svn
rename _svn .svn
attrib +h .svn
You can do this in all your working copies. This worked for me after moving the working copy between computers, one where ASPDOTNETHACK was on and the other where it was off. According to the TortoiseSVN docs, ASPDOTNETHACK is only needed for VS.NET2002. Later versions don't need it.
Comments
You might want to see this:
Configuring VisualSVN Server to use _svn instead of .svn
and this
http://john-sheehan.com/blog/bulk-renaming-svn-folders/
and this
3 Comments
I recently upgraded myself and had the same issue. I proceeding to remove what I deemed surplus to requirements overlay icons items from the registry, however this did not help. Seeing crashmstr answer I had a look and noticed the option "Upgrade SVN working copy" and that did the trick.
Right click on folder and select "Upgrade SVN working copy"