Tom
Tom

Reputation: 75

SVN 255 Character Problem

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 ?

Upvotes: 3

Views: 4055

Answers (2)

Stefan
Stefan

Reputation: 43575

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.

Upvotes: 3

Jerod Venema
Jerod Venema

Reputation: 44632

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

Has Windows 7 Fixed the 255 Character File Path Limit?

Upvotes: 7

Related Questions