SVN 255 Character Problem

2020-07-22 16:31发布

问题:

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.