On 06.02.2012 16:48, Markus Schaber wrote:
> Hi, Stefan,
>>> [Long Urls are truncated in the repository explorer)
>> That's a limitation of the list control. Nothing we can do about
>> And btw: you won't be able to check out such a path on Windows
>> anyway. While NTFS can handle *paths* that are longer than MAX_PATH
>> (260 chars), each path *component* (part between backslashes of a
>> path) must not exceed the limit specified in
>> lpMaximumComponentLength returned by the GetVolumeInformation API,
>> and that limit is usually only 255 chars.
> That's not exactly true: The URL is truncated when its length is
> longer than MAX_PATH, even when none of its components is longer than
> 255 chars.
That's true for the windows explorer, not for TSVN per se.
> It is true that checking out such a directory gives me an error with
> Command: Checkout from
Error: doesn't exist
> Note that the URLs given in the checkout error message are both
> truncated, the Url I actually selected for checkout in the repo
> browser was 'svn://localhost/testrepo/LongPathProject/Device/Plc
Yes, urls and paths in error messages are truncated. Because the list
control wouldn't show the error message correctly if they weren't
(because of the before mentioned limitation). But internally, the
strings, paths and urls are *not* truncated in TSVN. Only for UI output
> However, on the command line or using SharpSVN, I can checkout
> aforementioned URL fine.
I seriously doubt that, unless you're trying that on a non-windows OS.
Because those clients have the same limitations that the windows API has.
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-02-06 18:47:50 CET