Tortiose SVN - Missing the setting to - Use “_svn” instead of “.svn”

≯℡__Kan透↙ 提交于 2019-12-23 07:08:30

问题


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?


回答1:


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




回答2:


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

TortoiseSVN Release Notes

Update: I did find Setting the SVN_ASP_DOT_NET_HACK environment variable Which may do what you are looking for.




回答3:


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.




回答4:


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.




回答5:


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

http://www.giannistsakiris.com/index.php/2007/11/08/mass-rename-_svn-directories-to-svn-and-vice-versa/




回答6:


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"



来源:https://stackoverflow.com/questions/7798027/tortiose-svn-missing-the-setting-to-use-svn-instead-of-svn

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!