SVN 255 Character Problem

微笑、不失礼 提交于 2020-01-13 05:15:27

问题


I am using TortiseSVN and we have a problem when we exporting etc because subversion errors. The path has a character limit 255 - so I am not sure if this is the problem [I think it is in Win7 x-64 bit]

How do I fix this ? i.e. allow paths for >255 characters ?


回答1:


It's a Windows limitation, not a tortoise limitation.

Has Windows 7 Fixed the 255 Character File Path Limit?




回答2:


Subversion works quite well with paths longer than MAX_PATH (256 chars), but you must provide absolute paths for every command, not relative ones. TortoiseSVN already does this, but there's another limitation: the Windows Explorer can not deal with such long paths, even though NTFS can. So you can checkout/update/commit in TortoiseSVN such paths, but you can't access those anymore in Explorer.

To 'shorten' such paths, you can use the SUBST command.



来源:https://stackoverflow.com/questions/2802727/svn-255-character-problem

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